Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Database Based Facebook Connect [duplicate]

Possible Duplicate:
Am I allowed to store data retrieved from Facebook connect on my server?

Can We store Facebook login information to our database so that if user can come to revisit our site he can automatically log in to Facebook.

like image 648
Rana Touqeer Avatar asked Jan 02 '13 08:01

Rana Touqeer


2 Answers

if user has accepted your app request and sharing his information with you. that information you can store in your db but his login credentials you can't save its due to security. if user is already logged in facebook and that time he visit your site that thing you can manage he will be auto logged in to your site.

Hope you understand if you need more clarification please visit facebook API.

Thanks

like image 182
Muhammad Shoaib Avatar answered Nov 17 '22 18:11

Muhammad Shoaib


No, it is not possible. You can, however, check if user is logged in (FB.getLoginStatus()) and ask said user to log in if he/she is not (FB.login())

like image 31
Darvex Avatar answered Nov 17 '22 17:11

Darvex