Solved

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

Posted on 2011-02-23
1
286 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The viewer will learn how to count occurrences of each item in an array.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

738 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