The problem is, in the Response's JSON: I'm getting a total of 250 which brings the need to paginate. And when I do response.json().get("paging"), here's what I get: {'next': {'after': '100'}}
When you say not working properly what do you mean?
Disclaimer: I'm not familiar with PHP, I'm using postman and am relatively new to the API.
I believe you'd have to make additional calls after your limit. I could be off base here but I believe the "next…after" is just letting you know that you next call should define "after" as 100 or above.