HELP ME FELLOW DEVELOPERS
So basically, for work, I need to get the pictures from a facebook page and load it into a client’s website. I managed to do that. Now they want infinite scrolling and I can’t figure out how to set that up with the jquery to get the next batch of photos from what is essentially a json file.
This is at the bottom of the json info:
"paging": { "cursors": { "before": "MTEzMDY2MjIzMDM5ODY2OQZDZD", "after": "MTExOTg3NTU2ODE0NDAwMgZDZD" }, "next": "https://graph.facebook.com/v2.10/357782867686613/photos?access_token=EAAb60ySp5WUBABRjt40DzSaCfx72zQGkAHbI9YhGLIrLfi9eFhCTykTAXbJuqi7qvYHpDHikjIRVsd8WyLKZCW9abCuYuc5A65yNvdbZBNraKVOsc6ozBB5Lon0EGlh99Yei2jcULSmNmFmSO8xGj0ZByNPmS4VWgrfrEdwZBwZDZD&pretty=1&fields=after&limit=25&after=MTExOTg3NTU2ODE0NDAwMgZDZD" } }
What I need is the value for “after” and I can’t figure out how to get that with jquery or ajax or something.
If you know how to do this or have done this in the past, please help a sista out!