Miljan Vulovic Miljan Vulovic -4 years ago 136
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 Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download