Mok Posted October 12, 2013 Share Posted October 12, 2013 This is a theoretical question. So I won't need any code. Here is an example situation: User signs up for website with a username and password. User connects facebook account. Can I make it so everytime they log in, their facebook logs in too? Am I completely getting it wrong? Thanks, Nick Quote Link to comment https://forums.phpfreaks.com/topic/282905-is-it-possible-to-save-a-facebook-session-into-a-database/ Share on other sites More sharing options...
cyber_alchemist Posted November 4, 2013 Share Posted November 4, 2013 nope , as the password is not given / or use of Facebook passwords is unethical in making any Facebook app or api connecting Facebook, i am not currently updated with the technical details but that is how it goes, once the cookies expires the user have to log in again, although , if they are already signed in , you could make them online in messenger etc. Quote Link to comment https://forums.phpfreaks.com/topic/282905-is-it-possible-to-save-a-facebook-session-into-a-database/#findComment-1456847 Share on other sites More sharing options...
JonnoTheDev Posted November 4, 2013 Share Posted November 4, 2013 You can't log someone into Facebook from a third party website log on procedure. What you can do is the opposite. Allow a user to log on to your website using their Facebook username / password. You can read up on how to do this via the FB developers docs. This would log users into both systems. Quote Link to comment https://forums.phpfreaks.com/topic/282905-is-it-possible-to-save-a-facebook-session-into-a-database/#findComment-1456869 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.