Kilian Schefer
Kilian Schefer

Reputation: 579

Check if user likes assigned app page without user presence

I would like to give users of my app who like my assigned app page a special daily virtual bonus. Therefor i do a daily lookup to check if a user likes my page, it can be done like so:

https://graph.facebook.com/FBID/likes/PAGE_ID

It works with about 30% of the users who have set their likes to public. For the rest i need an access_token. Does it have to be a user access_token or could an app access_token have those permissions too (since it's an assigned app page, as newly required by FB)?

I want to check if the user likes my page even if the user doesn't use my app that day, therefor i want to avoid to use the signed request (doesn't contain the like info of for an assigned app page) or the /me/likes/PAGE_ID/

Upvotes: 1

Views: 508

Answers (2)

DMCS
DMCS

Reputation: 31870

You will need a user access token with the user_likes and offline_access permissions granted to it.

Upvotes: 1

Sebastian Thiele
Sebastian Thiele

Reputation: 160

Hav you tried the Graph-Explorer? https://developers.facebook.com/tools/explorer

But I think you need a user-Token.

Upvotes: 0

Related Questions