Facebook - Getting status updates from Page (not user) using FQL
Is there a way of getting status updates from a Page (not from a users page , but a business page) using FQL , documentation for the 'page' table doesn't contain anything ?
So my query would theoretically be:
SELECT status FROM page WHERE page_id = MYPAGEID
although that obviously doesn;t work , and :
SELECT message FROM status WHERE uid = MYPAGEID
just returns NULL.
The page is public , and all security permissions are off .
An开发者_运维问答y ideas? I can't see any reason as to why Facebook wouldn't allow this ?
Ive used
https://graph.facebook.com/MYPAGEID/feed
but ideally I'd like to return XML to integrate it into a feed.
Thanks.
You need to query the stream
table:
SELECT message FROM stream WHERE source_id=PAGE_ID
OR:
SELECT message FROM stream WHERE source_id=PAGE_ID AND actor_id=PAGE_ID
If you only want to retrieve the feeds made by the page!
精彩评论