Problem
I am trying to get friends_location
from the Facebok Graph API. I am accessing the API using the HybridAuth framework. How do I return a friend's location/hometown etc?
My App Permissions
I have set the following permissions for my app:
friends_about_me,friends_location,friends_hometown,user_location,email,user_birthday,offline_access,user_hometown
This is the request for permission screen the user sees on Facebook:
What I Have Tried
I have tried the following methods to get the friend's details:
HybridAuth: $hybrid->getUserContacts();
and
Native API: $hybrid->api()->api('/me/friends');
Both return the following format without the friend's location:
{"identifier": "12345678","displayName": "Joe Smith",},
I have also seen this question but I have already included the friends_about_me
permission in my request.