Reputation: 56998
What is the most current method to determine if a Facebook User has installed an application? I see that there is an "installed" field on the "permissions" connection of a user object, but that requires an access_token to test. What happened to isAppUser and why does this URL say the following:
Please use the Graph API User object and GET /[UID]?field=installed to check if a user is has TOSed that app.
The referenced /[UID]?field=installed does nothing.
Upvotes: 4
Views: 10904
Reputation: 43816
This is working for me when asking for 'fields' - the docs appear to be referencing 'field' which I think is incorrect, I'll get it updated if that's the case:
e.g.
GET https://graph.facebook.com/me?fields=installed&access_token=<SNIPPED TOKEN>
Returns:
{
"installed": true,
"id": "<SNIPPED ID>"
}
A call to /me/permissions
is probably what you want in most cases as this will also show the extended permissions granted to your app
Upvotes: 10