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 6469421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T05:59:20+00:00 2026-05-25T05:59:20+00:00

I made some research and i can’t seem to completely understand how to integrate

  • 0

I made some research and i can’t seem to completely understand how to integrate Facebook login with your website.

I’m trying to do this for an old fashioned PHP shop that, up till now, doesn’t use any type of login, but only a session that allows users to browse across pages and add items to cart.

I read here, on Stack Overflow, that you need a table in your database to keep the user’s email address and facebook_id. So after that I can hook up with other tables in my database in order to provide info and much more to each user?

Are there other ways to easily integrate your website with Facebook and Google accounts? I read something about OpenID, but didn’t really understand what’s its use 🙂

So that’s why I’m asking you to put me on track :). I’m really new with this and any advice, best practices etc. will be greatly appreciated!

  • 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-25T05:59:21+00:00Added an answer on May 25, 2026 at 5:59 am

    The idea behind Facebook login is simple: The user goes to the Facebook page, logs in there, Facebook worries about the details and eventually just gives you (your server) a thumbs up and an id, meaning “we have positively confirmed the identity of this user, it’s user 174264384”. Your server is then free to do whatever it likes with this information. If you want to track a user across several visits then yes, you’ll probably want to store that number in a database together with any additional information. The next time Facebook tells you user 174264384 has logged in, you can get any associated information back out of your database.

    Hope that helps as a 30,000 feet overview. The details of how Facebook can securely authenticate a user and hand this information back to your server are best handled by the PHP SDK. Read the documentation if you want to explore the details.

    OpenID basically does the same thing, only the technical details differ and it’s not specific to Facebook. Oauth is another very similar technology.

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

Sidebar

Related Questions

I've trying to learn PHP OOP and have made some research on how to
I've made some research on this but haven't found any solution, so I'm not
It made some errors like this: KDnsCache.cpp: In member function ‘unsigned int KDnsCache::GetName(const char*)’:
I made some Eclipse plugin and update site on Indigo(Eclipse v3.7). I can debug
I have made some research on Stackoverflow about reverse for loops in C++ that
i have a problem and confused a little bit. I made some research in
I've done some research online with this problem, and i'm totally confused. If someone
I made some research in Google and was unable to find the way to
I made some little programs with Swing-components in JRuby. Now I want to convert
I made some modifications to SVG Edit which contains a make file. When I

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.