Facebook Graph get photos of public page pagination -


i managed retrieve first 50 photos of public page via fbgraph can't make pagination work

1525666877712653?fields=albums{id,photos.limit(50){name,picture}} 

here's, example, how them cocacola's public page. how can 50 more?

when doing

1525666877712653?fields=albums{id,photos.limit(50){name,picture}} 

you get:

{   "data": [      ... endpoint data here   ],   "paging": {   "cursors": {       "after": "mte1nzqxndawoduwna==",        "before": "mtu0mju3ndq3nzi3nq=="     },    "next": "https://graph.facebook.com/v2.3/1525666877712653/albums?fields=id,photos.limit(50){name,picture}&limit=25&after=mte1nzqxndawoduwna==" } 

and use query can next field results 50 100. see filters same in initial query.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -