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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:51:46+00:00 2026-06-10T19:51:46+00:00

I am not asking to solve my problem but yes to give me some

  • 0

I am not asking to solve my problem but yes to give me some hints on what should I look for or where should I focus in, in order to get this accomplished.

The problem is my website has his own registration system and I don’t know how to join it with facebook’s. Visitors should be able to login in both ways, but I have no idea how to do it.

I have followed this guide: http://25labs.com/tutorial-integrate-facebook-connect-to-your-website-using-php-sdk-v-3-x-x-which-uses-graph-api/

But it gives me error in my site, and I can’t login using facebook. Any advise on this.
I don’t know what I should do yet. My website is written in php.

This is the page where I have tried it:
http://www.dtraffic.biz/demo/index.php

The tutorial author say I should look the error_log to see which is the problem but when I look this through my cpanel account nothing appears there.

  • 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-06-10T19:51:46+00:00Added an answer on June 10, 2026 at 7:51 pm

    Here some tips.

    You have to add a new field in your userlist database. Example:

    Database userlist, we add facebook-id field, so:
    id    |    nick    |    passw    |    facebook-id
    -------------------------------------------------
    1     |    Llorx   |    mypass   |
    2     |   Llorx12  |    mypass   |
    

    And then implement Facebook PHP SDK, you can follow Facebook tutorial.

    When an user logins using Facebook, you can ask to create a new account or to link his Facebook account to his existing account in your web, in both cases, you have to fill the database facebook-id with his Facebook id (You can get that info with Facebook graph API after authentication)

    id    |    nick    |    passw    |    facebook-id
    -------------------------------------------------
    1     |    Llorx   |    mypass   |    19348317401
    2     |   Llorx12  |    mypass   |
    

    Now, each time someone logs in using Facebook, you can check if his Facebook id is linked to any account in your database.

    Sorry for my bad english :-/

    If the error you get is error 500, you have some code wrong written, or maybe Facebook API is throwing an error too, try catching it and print_f it so you know what’s happening.

    Another tip: Facebook exceptions are called FacebookApiException instead of Exception

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

Sidebar

Related Questions

This particular problem is easy to solve, but I'm not so sure that the
I'm not quite sure what I need to be asking to solve this problem,
I'm not asking how to get a fixed footer. I've a structure with both
Please note that I'm not asking how but why. And I don't know if
Please do not flag this as a duplicate, I'm not asking about what is
ok so I am feeling a little stupid for not knowing this, but a
Nightmare Episode 1 I put 21 hours today to solve this. But i failed,
I realize that this problem can be solved in the future by using some
I have a school problem but I do not understand what it actually asks.
I found that my design is wrong and asking you how solve my problem.

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.