Facebook Graph API - likes returns me an empty set

前端 未结 8 580
广开言路
广开言路 2020-12-16 09:44

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

{
   \"data\": [

   ]
         


        
8条回答
  •  长情又很酷
    2020-12-16 10:42

    My test user had approved my app before the likes permission had been granted so it was never picking up the likes authorisation. By removing the app from the test user's profile and authorising again I was able to get their likes.

提交回复
热议问题