Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

graph.facebook feed returning an empty array

Thanks in advance.

Can someone help me understand why the facebook feed is returning an empty array

https://graph.facebook.com/578431340/feed?access_token=748441095227914%7CTvThGP9sRaRPZfUbSIT6kABgytM&limit=20

{
  "data": [

   ]
}
like image 356
lookingGlass Avatar asked Dec 13 '14 23:12

lookingGlass


1 Answers

You need a user access token with read_stream for user posts. Additionally the queried user needs to grant the app the read_stream permission.

You are currently using an application token.

https://developers.facebook.com/docs/graph-api/reference/v2.2/user/feed

like image 169
phwd Avatar answered Oct 03 '22 05:10

phwd