Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 300993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:57:53+00:00 2026-05-12T06:57:53+00:00

I want to implement something similar to what Digg has done. When the user

  • 0

I want to implement something similar to what Digg has done.

When the user logs in for the first time, I want it to force them to create an account on my site.

More importantly I want to know how to log a user into my site when they login with facebook connect. If they login with facebook connect, they still haven’t provided me the password to their account on my site, so I can’t use username/password to log them into my site. How do they do this on Digg or sites similar to this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:57:54+00:00Added an answer on May 12, 2026 at 6:57 am

    Facebook’s process flow can definitely be a bit confusing. Take a step back from the details and the API, and look at the overall flow here:

    Facebook Connect will tell you that a user is logged into Facebook, and give you their Facebook ID. You can validate that ID against Facebook using Facebook Connect to make sure it is properly logged in. Once this is done, you don’t need a user name and password. As long as you trust that Facebook has authenticated the person properly, they are the only ones that can come to your site using that Facebook ID. That is enough information to start an authenticated session based around a local account that is associated with that ID.

    The process you should follow is like this:

    1. User logs in to your site with
      Facebook Connect for the first time

      • You notice that you don’t have a local account associated with that
        Facebook ID, and prompt them to
        enter local account information
      • You save that information along with their Facebook ID
      • The next time you see that Facebook ID (and validate that it is
        logged into Facebook using the
        Facebook API), you can start up a
        local session using the associated
        account.

    Basically you end up with two separate methods of authentication: a Facebook Connect ID check, or the regular username/password login on your site. Either one should have the end result of starting a local authenticated session.

    Hope that helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to implement something similar to triggers in hibernate. What I need is
I have a requirement in my iPhone app which is something similar to Handwriting
I saw something like this in some graphics libs today, and it seems like
I am trying to implement a huge Java interface with numerous (~50) getter and
I have a project i am working on currently and would like to implement
I'm currently designing a database for a small bookmarking application (using MySQL) and I'd
I've created a class which is an extension of Thread. This class hits a
I've got some code that performs some legacy 'database' operation and then processes the
From the other languages I program in, I'm used to having ranges. In Python,
I'd like to open a html-page in a webview and make it auto-scroll downwards

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.