I’m developing an app on facebook and want to get the last date that the user of my app liked anything on Facebook.
It doesn’t matter if its a page, post, comment, link or anything else you can like on Facebook.
Is it possible?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Actually, you can. (Probably added since Peter Bailey wrote his answer.)
Each like has a
created_timefield. The likes connection of a user object in the graph API returns most recently liked objects first. So if you just fetch the most recently liked item and check its creation time, you can get this data.The API GET call would be:
and the result would look like:
You can play with this on the Graph API Explorer.