Requesting old links from a public Facebook page returns an empty set

I am trying to find links that were posted on a public Facebook page, sometime in 2011, for example. In particular, the CNN Arabic Facebook page: http://www.facebook.com/CNNArabic

Things I tried:
1- Graph API, such a request:
CNNArabic / links? fields = id, name, link, created_time & limit = 25 & until = 2012-05-15

2- FQL
SELECT link_id, url, created_time FROM link WHERE owner = 102581028206 and created_time <1337085958 LIMIT 100

Both give an empty data set while there is data on the page before or before this date.

Other things I noticed:
1-If I changed the date to something like 2013-01-17 (this is yesterday), it works fine.
2-If I changed the date to something like 2012-12-17 (about a month ago), an empty data set is returned, however, if I follow the links on the next page in the returned data set from the query in number 1 above, until while I go to this date, and actually get the data.

I tried writing code that followed the pointers on the next page until I reached the links for the date I want. However, I need data much older (say, in 2011), and the result set will be exhausted, say, 2 or 3 months earlier than now, in other words, the following links will not be returned, so I really can never reach this old data .

To shorten this short: is there a way I can request links that have been published on a public page before a specified date?

0
source share
1 answer

The feed page request works in the Graph API:

 /102581028206/feed?fields=id,link,name,created_time&limit=25&until=2012-05-15 

This returns all messages. There should be a way to filter this out with the extension, but I couldn't get a few things that I was trying to work on.

You can get this filter for links with FQL only in the stream table:

 SELECT message, attachment, created_time FROM stream WHERE source_id = 102581028206 AND created_time < strtotime('2012-05-15') AND type=80 LIMIT 10 

Links type=80 .

+1
source

All Articles