I am trying to use an api chart with a limit, and since
I think the maximum limit is 5000, so I use this (I want to make the fewest calls).
I am also trying to watch 1 month ago.
So, I am trying:
https://graph.facebook.com/[ID of page]/feed&access_token=[accesstoken]&limit=5000&since=11-12-24
and I get 207 results, and the earliest date is December 24th, everything is in order, they say that last month there were only 207 results. The problem is that there is the following link that has:
"next": "https://graph.facebook.com/[id of page]/feed?limit=5000&until=1324702511"
If I get this page, I will start receiving beore messages on December 24th.
So my question is: how can I be sure that I get all messages after a given date with the least calls ???
The key that I think of is to install, since on the first call 1 day before, if I receive a message with this date, I know that I received them all if I did not break ... 5000 There are a lot of messages in one month, but I think itβs possible ...
It seems that facebook should provide a way to get as much as possible ... I read this http://developers.facebook.com/blog/post/478/ , but I'm still confused.
source
share