Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-02-23
1
Medium Priority
?
293 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 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

636 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