Fixes the README examples of using the access token properties

1.0
Benji Schwartz-Gilbert 2014-05-22 06:46:57 -07:00
parent 1008fbee5e
commit b91e005dd0
1 changed files with 3 additions and 3 deletions

View File

@ -76,13 +76,13 @@ if ( ! isset($_GET['code'])) {
}
// Use this to interact with an API on the users behalf
echo $token->access_token;
echo $token->accessToken;
// Use this to get a new access token if the old one expires
echo $token->refresh_token;
echo $token->refreshToken;
// Number of seconds until the access token will expire, and need refreshing
echo $token->expires_in;
echo $token->expires;
}
```