Hi @chriscas ,
Thank you for the continued help, with this and the previous post.
Sorry I'm hesitant to share the code, I think I'd need to run it by a few people before I can share it and that might take a bit of time, and this used to work a few months ago so I'm hoping its just a setting I need to change or something
But no elements of it are hardcoded towards my account, the API token is generated through my account settings page but that's about it. I tried to make it as flexible as possible, and I've cut out as much of the extras as possible so its just doing the very basics of getting page views and cycling through the page views returned.
That's why its confusing me, I don't think there's any issue with the code in of itself. I think its some setting or dependency that's changed that I haven't updated for. I've cleared every cache or temporary file I can find to see if it was some issue localized to my PC but no luck.
If it gave me no results back I'd be happier because it'd at least be an absolute, but the fact it returns the first page but then returns no results for its next page excluding my own accounts results, feels like there's some kind of filter or block preventing me from accessing the information despite me being an admin.