philsturgeon / codeigniter-oauth2

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

OAuth2_Provider_Facebook wrong nickname #8

Closed dami2 closed 12 years ago

dami2 commented 12 years ago

On line 32 when it says:

'nickname' => $user->username,

I think it should be:

'nickname' => $user->nickname,

Since I'm getting an error actually and there is no username on my Facebook response.

dami2 commented 12 years ago

Sorry I was wrong