How to filter the feed by type = status using the Graph API for Facebook at home?

Facebook Home Graphic API:

Request:

https://graph.facebook.com/me/home?access_token=..... 

JSON answer:

 { "data":[ { "type":"status", "id":"100003063094116_114168602028576", "created_time":"2011-11-07T16:28:44+0000" }, { "type":"link", "id":"100003063094116_114172085361561", "created_time":"2011-11-07T16:27:44+0000" } ], "paging":{ "previous":"https://graph.facebook.com/me/home?fields=type&limit=2&access_token=....&since=1320683324", "next":"https://graph.facebook.com/me/home?fields=type&limit=2&access_token=....&until=1320683263" } } 

How can I filter the "type"="status" feed?

+4
source share
1 answer

Instead, you can try the FQL query:

 SELECT status_id, time, source, message FROM status WHERE uid = me() 

me () can be replaced with any other facebook user id

and can be tested here

0
source

Source: https://habr.com/ru/post/1380126/


All Articles