2013-07-27 74 views
0

這回我所有的職位如何獲取Facebook用戶新聞源的所有帖子?

SELECT post_id, actor_id, target_id, message, likes FROM stream WHERE source_id = me() 

,但我想爲用戶看到它的新聞源的所有帖子。那可能嗎?

我已經試過這樣:

SELECT post_id, actor_id, target_id, message, likes FROM stream 

,但我得到

{ 「錯誤」:{

"message": "(#601) Parser error: unexpected end of query.", 
"type": "OAuthException", 
"code": 601 } } 
+1

FQL查詢需要一個WHERE子句。你可以使用新聞提要流過濾器,'... WHERE filter_key ='nf'' – CBroe

+0

謝謝,它的工作原理。 – sparkle

回答

1

FQL查詢需要一個WHERE子句。

你可以使用新聞提要stream filter… WHERE filter_key = 'nf'

相關問題