Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook Login Best Practices

I am about to launch a website that offers registration. I have just thought of implementing the Facebook Connect for login/signup.

Anyone has any recommendations on how to do it properly?

I started by loading the script, I am now at the point where I have the user's public data (userid,first name,last name etc..).

Now I have a few questions:

  1. Should I allow registrations from both FB users and non-fb users?
  2. For the Facebook users, should I just take the public data of each users that signs up, add it to the same users database where I store the non-fb users data?

Thanks,

like image 385
Jim Avatar asked Nov 17 '10 13:11

Jim


People also ask

What is the new Facebook login?

Facebook is excited to announce the launch of a new Facebook Login feature, aimed at delivering users even more control over their information. The feature, called “Login Notifications,” alerts a user (via the Facebook app and user's associated email) when they use Facebook Login to interact with 3rd party apps.

Is login with Facebook safe?

So long as you're using a strong password and have set up two-factor authentication for your Facebook or Google account, then go for it. It will be safer than most alternatives.

Does Facebook login use OAuth?

OAuth is also used when giving third-party apps access to accounts like your Twitter, Facebook, Google, or Microsoft accounts. It allows these third-party apps access to parts of your account. However, they never get your account password.

What is Facebook app secret?

When you make a Facebook App, that app will have an App ID and an App Secret. With the App ID, you can send several requests to Facebook for data. The Facebook App Secret will be used to decode the encrypted messages from Facebook, so that sensitive information remains protected.

What are the most important Facebook Creative best practices?

While Facebook ads can increase your reach exponentially, it is important to keep your content targeted and relevant to your target audience. This way, you can guarantee you have done what you can to pull new audiences in. This is one of the most important Facebook creative best practices.

Are brands making the most of Facebook best practices in 2022?

Brands that aren’t making the most of Facebook best practices in 2022 won’t be reaping the most rewards possible. In this blog we will cover the top Facebook Business best practices, Facebook video best practices and Facebook ads best practices. Facebook has been a go-to for businesses to reach their target audiences for years.

Is it time to brush up on your Facebook best practices?

Now’s the time to brush up on your Facebook best practices. That’s because recent statistics highlight just how valuable the platform is for businesses today. Consider that two-thirds of Facebook’s 2+ billion users interact with business Pages every week.

What is Facebook login and how do I use it?

Facebook Login improves your app user experience by enabling customers to easily sign up for your app without creating a username/password, and it maximizes the number of people using your app.


2 Answers

  1. Depends on your audience, but for any site that is not a facebook application I would give the user both options.
  2. Seperating the users in different tables will probably only make it harder for you later on when you try to add more logic. You can either make an extra field storing the facebook uid, or make an extra table, linking a user to a facebook user.

When I was implementing facebook/google login, I found this document very useful (it's from google, but the ideas in the work for every 3rd party): http://sites.google.com/site/oauthgoog/UXFedLogin/summary

like image 106
Jasper De Bruijn Avatar answered Oct 20 '22 18:10

Jasper De Bruijn


  1. Yes, do not limit your login/registration to another applications API. Granted this makes it easier to access your application, this may drive people away if they have to login using their facebook information.

  2. How you store your data is up to you but I would store them both in the same database and have an extra row that denotes them being logged in via FB connect.

like image 34
castis Avatar answered Oct 20 '22 18:10

castis