1

I am getting stream feeds using this query

SELECT 
   post_id, source_id, actor_id, target_id, message, attachment,
   permalink, type , created_time,timeline_visibility,updated_time 
FROM
   stream 
WHERE 
   filter_key IN (SELECT filter_key FROM stream_filter WHERE uid=me()) 
   and (updated_time < 1363762637 AND updated_time > 1364540237)

This query returns result accurately when updated_time exists within current month, Problem is that when i give the updated_time older than a 30 days no record is returned.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Qamar Zaman
  • 299
  • 2
  • 3
  • 6

1 Answers1

1

Their new API documentation, https://developers.facebook.com/docs/reference/fql/stream doesn't explain '2 weeks' limitation, so i give example of Search:

https://developers.facebook.com/docs/reference/api/search/:

Please note, you can only search about 1 to 2 weeks back in the News Feed.

Similar dicussion here: how to get past newsfeed using facebook API?

Even you using the web browser is same, impossible you're able to get all news feed since 3 or 4 years ago by just click the "More stories".

Community
  • 1
  • 1
林果皞
  • 7,539
  • 3
  • 55
  • 70