php - Facebook graph api cursor based pagination - cursors values not present -


i using facebook graph api display facebook page's data in website, there lots of posts, must use pagination because fb returns 100 posts per call, next 100 posts have use pagination. found cursor based pagination suitable.

i using jquery ajax data fb calling url -

https://graph.facebook.com/page_id/feed?fields=id,likes.limit(1).summary(true){id},comments.limit(1).summary(true){id}&limit=100&access_token=token_here  

now when data there should cursors value @ last implement pagination follows -

"paging": {     "cursors": {       "after": "mtaxntexotq1mjawnzi5nde=",       "before": "ndmynzqyodi3otqw"     },     "previous": "https://graph.facebook.com/page_id/feed?limit=100&before=ndmynzqyodi3otqw"     "next": "https://graph.facebook.com/page_id/feed?limit=100&after=mtaxntexotq1mjawnzi5nde="   }  

but don't see it. how can sure above 'after' , 'before' parameter values @ end of returned data traverse through next 100 posts? in circumstances these cursors values appear when fb page data using graph api calls? please reply details , examples if possible.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -