Solved

How do we replace signup in our app with facebook connect signup?

Posted on 2011-02-23
1
284 Views
Last Modified: 2012-06-21
Hi,

I have a game application for mobile. When a user signs up, I put them into a database table like this:

    id | email | username | password_hashed | etc

I know we can use facebook connect to let users "signup" for our apps, letting them skip the tedium of filling out our standard signup forms (mine has email, password fields, etc etc). If the users "signs up" with facebook connect, how do we merge that in with users that sign up with the "standard" method?

I'm guessing I'd add another field to my users table, which just stores facebook_id. If they signup with connect, I don't have any need for their email or a password, so those fields will be empty:

    id   | email                 | username | password_hashed | optional_fb_id
    -----------------------------------------------------------------------------------    
     1     john@doe.com    john                 xyz                          null
     2     null                       mary               null                           789

So user "john" signed up the "normal" way, he had to give me his email and a password to identify him. Mary signed up with facebook connect, all I store is her facebook id. In both cases, they need to give me a username (just an app requirement). The signup flow was quicker for Mary, she just had to pick a username.

Is that the basic idea?

Thanks
0
Comment
Question by:DJ_AM_Juicebox
1 Comment
 
LVL 12

Accepted Solution

by:
Amick earned 500 total points
ID: 34977434
Yes, that's the basic idea.  You might find this site helpful: http://www.goldsteintech.com/facebook_connect/overview.php.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SharePoint 2013 Searchbox Branding 11 78
What .NET URL re-routing tool did I use? 2 56
Accurate Analytics (Not Google) 2 41
Wordpress plugins not working in html 3 25
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo‚Ķ
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question