Skip to main content

Activity

commented on How to save access token in PHP?
Hey Arion, thanks for the response. I was storing the token and client object because I needed both to persist over the course of a number of client-side calls. I actually ended up serializing and unserializing the client object and that seems to have solved the problem.

However, now I’m actually running into an issue with passing page and per_page parameters; if I make a call without either of these parameters, the data is returned as expected. As soon as I pass either page=2 or per_page=100 etc, I receive an unauthorized message.

Here is one for example:
<code>$result = $client-&gt;fetch(’https://blahblah.nationbuilder.com/api/v1/people?page=2');&lt;/code&gt;
posted 2014-03-25 19:40:27 -0700