Trying To Read Friends Links in Facebook Using FQL: Why do some friends return an empty set?

最后都变了- 提交于 2019-12-01 06:13:35

问题


When trying to find friends of mine that also use this app and have links from a specific site, I'm getting no results from some friends, but it works great on others. If I use the Graph API Explorer, doing something as simple as /friendid/links returns an empty set. However, I can go to their wall and see links and they have the read_stream permissions granted to my app.

Of note, they appear to have a different Privacy Settings experience as well (completely different set of screens).

Anyone ever seen this? How can Facebook be granted permissions, but not really get them?


回答1:


It's all to do with the privacy settings of the friend you are trying to access data about. Facebook allows you to set different levels of data that will be shared with apps that have been installed by your friends. By default, the privacy setting is ticked for "My Links", but I imagine that a LOT of people, including me, will have turned this off.



来源:https://stackoverflow.com/questions/8222516/trying-to-read-friends-links-in-facebook-using-fql-why-do-some-friends-return-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!