I am working on WPF app and I want to get news feed using FQL so that I have the appID and Token I am new to this so can anybody help me how I can get this news feed in facebook..

Thank you..!!!

有帮助吗?

解决方案

Use this type of fql query:

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')

See this links also:

  1. How to write FQL to fetch news feeds
  2. How to get only photos from user's Facebook newsfeed using graph api?

Update:

To read the stream table you need:

  1. read_stream permissions for all posts that the current session user is able to view
  2. read_insights permissions to see post impressions for any posts made by a Page owned by the current session user

To read the stream_filter table you need:

  1. a valid access token with basic permissions
  2. read_stream permissions if used in combination with stream table).
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top