philsturgeon / codeigniter-oauth2

NO LONGER ACTIVELY MAINTAINED. USE https://github.com/thephpleague/oauth2-client INSTEAD
http://getsparks.org/packages/oauth2/versions/HEAD/show
352 stars 177 forks source link

Example Usage Error #12

Closed rjdjohnston closed 12 years ago

rjdjohnston commented 12 years ago

In your example usage section this line: $user = $provider->get_user_info($token->access_token);

Should be replaced with this: $user = $provider->get_user_info($token);

philsturgeon commented 12 years ago

Please send pull requests when you know how to fix something. You can even click "Edit File" to do this in the browser!

rjdjohnston commented 12 years ago

Ah! Good to know

Pardon the brevity, this message was sent from my iPhone.

On Mar 26, 2012, at 2:28 PM, Phil Sturgeonreply@reply.github.com wrote:

Please send pull requests when you know how to fix something. You can even click "Edit File" to do this in the browser!


Reply to this email directly or view it on GitHub: https://github.com/philsturgeon/codeigniter-oauth2/issues/12#issuecomment-4700778