문제

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