facebook batch request to get all the photos

493 views Asked by At

I want to get all the photos of the user who gave permission to the app. Currently, I tried single and batch request of Graph API but it always paginates the results. Is there a seamless way to get all the objects without following pages?

ps: I'm using PHP-SDK so answering in php is the money :)

1

There are 1 answers

1
user862530 On

I found out that giving limit=0 is solving the problem. It still generates paging object but they return empty data set. So, limit=0 returns the whole dataset in one shot.