Facebook friends request returns empty

This question already has an answer here:

  • Facebook Graph API v2.0+ - /me/friends returns empty, or only friends who also use my application 6 answers

  • With Igy's help (pointed to this answer), I found the specific answer to my issue, which seems worth adding here.

    The problem was that the new 2.0+ API version only returns friends:

  • Who are on the app
  • Who have agreed to the user_friends permissions themselves.
  • 1 was all figured out, but because I'm still testing the app out, and nobody had yet accepted permissions, my test user was the only person who had accepted permissions. Nobody else had accepted user_friends , so nobody showed up as a friend of the test user. Getting a friend of the test user to add the permissions fixed the problem, adding that friend to the list of friends returned.

    链接地址: http://www.djcxy.com/p/75436.html

    上一篇: 字节数组到位图图像

    下一篇: Facebook好友请求返回空