Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to implement 'Continue as {Facebook user name}' button?

I'm trying to implement Facebook login button for my site. Some of Facebook products have a nice FB button that uses Facebook user name of user that already signed in.

And there is a question: Is it possible to get FB name using Javascript when user is already signed in in browser?

Example:

enter image description here

like image 961
Andrii Tsok Avatar asked Dec 06 '15 22:12

Andrii Tsok


1 Answers

You can find it in Facebook documentation, section Login button/Plugin configurator: https://developers.facebook.com/docs/facebook-login/web/login-button

There is an option: Include name and profile picture when user is signed into Facebook

like image 113
Željko Šević Avatar answered Oct 20 '22 16:10

Željko Šević