nextPageToken (paginated API scenarios)


I’m new to and I’m strugling with getting paginated APIs working.

I’m trying to collect reviews from Google Business using batchGetReviews request.

The request is limited to 50 reviews. After that it gives a string under the field “nextPageToken”.

How can I iterate on this string to cycle through all the pages ?

Any help apreciated :slight_smile: