Reputation: 7390
This return all of my post
SELECT post_id, actor_id, target_id, message, likes FROM stream WHERE source_id = me()
but I'd want to get all posts a user sees on its Newsfeed. Is that possible?
I've tried this:
SELECT post_id, actor_id, target_id, message, likes FROM stream
but I get
{ "error": {
"message": "(#601) Parser error: unexpected end of query.", "type": "OAuthException", "code": 601 } }
Upvotes: 0
Views: 110
Reputation: 96306
FQL queries need a WHERE clause.
You could use the news feed stream filter: … WHERE filter_key = 'nf'
Upvotes: 1