Facebook GRAPH API - 用户的好友列表不返回除总数之外的任何数据
我在 Facebook 开发者帐户中的应用程序中创建了几个测试用户,并向他们授予了所有 user_friends 权限,并通过“管理用户的 Facebook 好友”选项将他们连接在一起。但是,当我尝试检索其中一个用户的朋友列表时,它仅返回朋友的总数,而不返回他们的数据。有谁知道为什么会发生这种情况?预先感谢您..
I created several test users in my App in Facebook developer account and granted all of them user_friends permission and also connected them together through 'Manage user's Facebook friends' option. However when I try to retrieve one of those user's friends list, it returns only total count of friend, but not their data .. Does anyone know why is that happening ? Thank you in advance..
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是 Facebook 的一个已知错误,已在此处针对应用程序类型消费者/企业进行报告。
https://developers.facebook.com/support/bugs/721152122632278/
https://developers.facebook.com/support/bugs/615773773588521/
但是如果您的应用程序时间是游戏服务,或者您创建主应用程序的测试应用程序,但不要忘记创建测试用户,分配他们的“user_friend”权限并将他们添加为彼此的朋友。经过大量研究后,我遵循了相同的过程,最终成功了。
Its a known bug of Facebook which has been reported here for app type Consumer/Business.
https://developers.facebook.com/support/bugs/721152122632278/
https://developers.facebook.com/support/bugs/615773773588521/
But you won't have any issue if your app time is Gaming Service, or you create a test app of your main app but don't forgot to create test users, assign them 'user_friend' permission and add them as a friend with each other. I followed the same process after going through alot of research and finally it worked.