0

I'm using the Facebook Graph API Explorer to fetch all of my friends that are using my app. I am trying to do it with graph API:

me/friends?fields=id,installed,name

or

FQL: SELECT uid, name, pic FROM user WHERE is_app_user AND uid IN (SELECT uid2 FROM friend WHERE uid1 = me())

and in both ways I only get the test users although I definitely have friends that using my app. The app is not in development mode and public. What is going on?

7
  • Is the your app status live and available to all users?? Commented May 22, 2014 at 12:15
  • Yes. Users are authenticated by the app. Commented May 22, 2014 at 12:47
  • FB.api('me/friends?fields=id,installed,name', function(response) {console.log(response);} What response you are getting. Is there any errors coming. Commented May 22, 2014 at 13:05
  • No error. I get a list of my friends that use my app but the only problem is that I only get the testers (friends that are defined as testers) and not the rest. Commented May 22, 2014 at 13:11
  • That is by design. In Facebook API v2.0 you only get friends that have installed the app. Commented May 22, 2014 at 16:06

1 Answer 1

1

I found the solution for this and it's because the app didn't asked for user_friends permission in the authentication.

Sign up to request clarification or add additional context in comments.

2 Comments

when you were in the development mode, can you get the list of your friends who are using your app? I can't seem to be able to do it...
Make sure you are asking for the 'user_friends' permission in the app settings

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.