Is there a way to determine if the current user is a fan (now: likes the page) using facebook connect?
I know this is possible in the REST api, but I would like to be able to just use connect instead.
Is there a way to determine if the current user is a fan (now: likes the page) using facebook connect?
I know this is possible in the REST api, but I would like to be able to just use connect instead.
First you need to log the user in with Facebook connect and the Javascript SDK.
Then in Javascript you can use FB.api to call the Graph API.
FB.api('/me/likes');
This requires the user_likes permission to be granted when they login.