After checking 20+ answers I’m sure there is no way to trace (using JS only) if user already “liked / recommended” page few days ago or not – but anyway: how to trace if page on 3rd party site (“application”) already liked by visitor few days ago?
I need JS code – without server-side languages like PHP – something like
FB.api(
{
method: 'link.getStats',
url: 'example.com'
},
function(response) {
if(response.liked) {
alert('me likey!');
}
);
Is there something like this? Thanks!
You can use the graph API to confirm if a user likes a page.
You’ll need the ID of the object to query though.