Jump to content

Archived

This topic is now archived and is closed to further replies.

Mok

Is it possible to save a facebook session into a database?

Recommended Posts

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

Share this post


Link to post
Share on other sites

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. 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.