FriendsOfSymfony / FOSFacebookBundle

NOT MAINTAINED - see https://github.com/hwi/HWIOAuthBundle
322 stars 140 forks source link

Add support of "onlogin" for facebook login button #269

Closed TintinJS closed 11 years ago

TintinJS commented 11 years ago

With "onlogin" you can specify an action to do once the user is logged in.

TintinJS commented 11 years ago

You have forgot to pull my another pull request, this is just the doc ;)

diegoholiveira commented 11 years ago

@walane i'm fixing it since we will use html5 to render the login button (see PR #268)

TintinJS commented 11 years ago

Okay

diegoholiveira commented 11 years ago

@walane where I can find this attribute documented on Facebook's developers site? I guess this is not valid anymore, I can't find it on html5 or fb markup.

TintinJS commented 11 years ago

Hmm strange... I've found something here https://developers.facebook.com/docs/user_registration/flows/

diegoholiveira commented 11 years ago

Take a look here: https://developers.facebook.com/docs/reference/plugins/login/ It's not in the attributes list.

TintinJS commented 11 years ago

Arf :/ But i use it on http://www.insomnialille.com/ and it works properly

TintinJS commented 11 years ago

EDIT : onLogin is for call a javascript function too

diegoholiveira commented 11 years ago

Done. Can you make that it rigth?

TintinJS commented 11 years ago

Thank you but sorry i didn't understood your last sentence (i'm french who eat frog)

diegoholiveira commented 11 years ago

@walane sorry, i wrote it wrong. I just wanna know if you can test and make sure that is rigth :)

Thanks a lot.

TintinJS commented 11 years ago

Okay it's working you're welcome ;)