Pergunta

I am working on a application development which is getting real updates from facebook, and I need to make API calls after getting a change notification. I am able to make API Calls using User Access Token but when I make a call with application access token to retrieve relationship status (or say any other files which requires access_token) of user (who had successfully permitted the application for those fields), I am getting null. I am using Java servlets for the implementation of the same, App Access Token is working fine for subscriptions and even retrieving basic info and application info, but not specific information required. Kindly help me out for the same.

Foi útil?

Solução

When you are creating the auth token, have you got the following scope set;

user_relationships

You should then be able to see relationship status under /me

"relationship_status": "Engaged", 
"significant_other": {
    "name": "Jane Luu", 
    "id": "570340316"
 }, 
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top