Quantcast
Channel: How to write FQL to fetch news feeds - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Answer by Niklas for How to write FQL to fetch news feeds

$
0
0

You need to use the filter_key to select the type of feed to use. The type you are after would probably be newsfeed, so the query could be something like this:

SELECT post_id, actor_id, target_id, message FROM stream WHERE filter_key in (SELECT filter_key FROM stream_filter WHERE uid = me() AND type = 'newsfeed')

For more information, have a look at the stream_filter docs.


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>