Facebook Graph API – likes returns me an empty set

facebookfacebook-graph-api

When I try to get all my "likes" (formerly fan pages) on Facebook Graph API, sometimes it returns me an empty set:

{
   "data": [

   ]
}

I tried with https://graph.facebook.com/me/likes?access_token=MY_ACCESS_TOKEN and with graph.facebook.com/vinch/likes?access_token=MY_ACCESS_TOKEN but the result is exactly the same (empty).

Any idea of what it can be? I need it to know if a user likes (is fan of) a specific page.

Best Answer

add user_likes permission to your application

Related Topic