I have to fetch all data which is on News Feeds (public wall). What query should I write ?
I wrote "SELECT likes,message FROM stream WHERE source_id = %lld limit 50 "
query but it is returning my wall value. I want to fetch all data which is on my wall as well as on public (News Feed).
Thanks in advance
How about doing it without querying FQL? :)
Use the Graph API instead:
Try it on using "Graph API Explorer". /me/home
You need to use the
filter_key
to select the type of feed to use. The type you are after would probably benewsfeed
, so the query could be something like this:For more information, have a look at the stream_filter docs.