使用Graph API获取所有Facebook的朋友 [英] Getting all Facebook friends using Graph API

查看:204
本文介绍了使用Graph API获取所有Facebook的朋友的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图获取我/朋友,返回的JSON包含比我的Facebook页面显示的少3个朋友。原来,对于那些3,GET/ [id]返回false而不是一个有效的JSON对象,虽然我没有看到任何特别的,除了他们可能没有使用Facebook一段时间。原来我以为这是一个错误,但我被告知这是设计的。如果是这样,那么我可以通过Graph API获得目前的Fb朋友的完整列表吗?

I tried to GET "me/friends" and the returned JSON contains 3 less friends than my Facebook page shows that I have. It turned out that for those 3, GET "/[id]" returns false as opposed to a valid JSON object, although I don't see anything special about them except that they might haven't used Facebook for a while. Originally I thought this was a bug but I was told this was as-designed. If that's the case, how do I get a full list of my current Fb friends, presumably via Graph API?

推荐答案

用户可以通过访问隐私设置 - >应用和网站,完全退出Facebook平台:

Users can opt out of the Facebook platform entirely by going to Privacy Settings -> Apps and Websites:

这篇关于使用Graph API获取所有Facebook的朋友的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆