Facebook graph: detecting if "log in" is required in order to get info
I am using facebook graph API, according to their documentation, I should get error code 464.
Now I have the following get requerst for the post of the user hsisd:
And I get error code 104, that a token is required.
When I use the token of my application:
Then I just get empty data.
That is because a logged in user is required and this is an application token.
Now my question is, is there any way that I can check if a logged in user access_token is required or not?
How do I check it?
Because empty data array can happen due to many reason, how can I detect if this is due to user log in requirement?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)