Is there a way in facebook php sdk to
where i should be looking in the API doc , any clue ?
thanks
No, it is not possible to invite a user to Like a page and then track that they've liked it.
If you've got access to the user's profile, you can see if the user has liked a particular page by requesting the user_likes
permission and then making a call to:
me/likes/23828249681
, i.e. me/likes/{page_id}
to see if they liked the page.
If data is returned by the API, it means the user has Liked the page, and will tell you when they liked it in the created_time
attribute.
Example of returned data, when user has Liked particular page:
{
"data": [
{
"category": "Actor/director",
"name": "Kaley Cuoco Sweeting",
"created_time": "2014-01-01T00:00:00+0000",
"id": "23828249681"
}
],
"paging": {
"next": "..."
}
}