Miljan Vulovic Miljan Vulovic - 1 month ago 15
Android Question

Facebook sdk android get friends who use the same app

So, I tried to google it, but don't have a clue why this isn't working. When i call this api:

enter image description here

I get this:

{Response: responseCode: 200, graphObject: {"data":[],"summary":{"total_count":683}}, error: null}


Now, I have 2 friends for testing purposes for this app that im doing and I need to get those friends. What am I Doing wrong?

Answer

The response looks good, the only issue I can think of is that your friends did not authorize your App with the user_friends permission. Make sure they did.

In other words: Use the scope parameter with the user_friends permission in the login process.