Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README example uses wrong property names for access token properties #99

Closed
benjisg opened this issue May 22, 2014 · 0 comments · Fixed by #100
Closed

README example uses wrong property names for access token properties #99

benjisg opened this issue May 22, 2014 · 0 comments · Fixed by #100

Comments

@benjisg
Copy link
Contributor

benjisg commented May 22, 2014

The current README shows that you can access the property names of an access token object by using:

// Use this to interact with an API on the users behalf
echo $token->access_token;

// Use this to get a new access token if the old one expires
echo $token->refresh_token;

// Number of seconds until the access token will expire, and need refreshing
echo $token->expires_in;

but the actual property names would need to be

$token->accessToken;
$token->refreshToken;
$token->expires;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant