Facebook Login Setup?

  • Thread starter Thread starter Deleted member 745
  • Start date Start date
Trying to intregate with FB, setup App, entered the details, but just get this error.
{
"error": {
"type": "OAuthException",
"message": "redirect_uri isn't an absolute URI. Check RFC 3986."
}
}
 
i followed the xf manual in settingup facebook
but i have this error when testing it in tools section
-------------------------

Error


Your server could not connect to Facebook (https://graph.facebook.com). Try again later. If the issue persists, contact your host.
----------------------
i double check the id and key still same error.
any idea?
 
Still got an error for this, please help.
We need this in the manual.

Code:
{    "error": {       "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",       "type": "OAuthException"    } }
 
Getting same issue. Very frustrating. Running latest beta xenforo

Code:
{
  "error": {
      "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",
      "type": "OAuthException"
  }
}
 
i followed the xf manual in settingup facebook
but i have this error when testing it in tools section
-------------------------

Error


Your server could not connect to Facebook (https://graph.facebook.com). Try again later. If the issue persists, contact your host.
----------------------
i double check the id and key still same error.
any idea?


Hate to open a old thread, but I am getting this error! I setup everything per the instructions and it worked fine yesterday. Today I constantly get this error. Anyone have any known fixes?
 
If it worked yesterday, it could just be a temporary issue. Otherwise, you'd want to look for things that changed on your server -- you can contact your host about that. It's possible there's a firewall involved or it's possible that SSL support was lost in PHP somehow.
 
Unfortunately it is still not working. And since I was in the beginning phases of building my community website, I used the freeservers.com and plan to upgrade once it is up and working. But there is no hosting support for the free accounts. Since it appeared to work when I set it up, I assume the host must have changed something since because I didn't do much changing. Oh well, I will have to rethink my strategy if this host doesn't support it cause it is needed.
 
I've just gone through the process of setting it up and registering.
This is what I did:

  • Login to Facebook using your normal Facebook account (although this is not necessary to create an application)
  • Note down the Application ID and Application Secret
  • Click on Edit settings on the right hand side
  • Click on Web Site on the left hand side and enter:
    • Site URL: http://www.mysite.com/
      • Note: this must be the directory where the forum is installed and include the trailing /
    • Site Domain: mysite.com
      • Your main domain without the http:// and trailing slash, only required for authentication on sub-domains
  • Login to your XenForo forum and go to ACP -> Home -> Options -> Facebook
    • Enter the Application ID and Application Secret obtained above
    • Save Changes
    • Log out of XenForo
  • Open XenForo in a new window/tab and click on Login and then Login with Facebook
    • Enter your Facebook email address and password (if not logged in to Facebook), otherwise allow access for the application
    • Edit your username if you don't want it to be the same as your Facebook name or, associate it with an existing account
    • Agree to the terms and rules and click Sign Up
And you're done.


I just tested that from scratch on my site and it worked fine.

View attachment 6085


What about this error:

URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs.

Can you help me with this?
 
I wanted to update this Thread as I just installed Facebook Login on my forum today.

I'm going to keep this simple how I set it up.

Step #1 https://developers.facebook.com/
Step # 2 Add a New App
Step #3 Create a New App ID
Display Name - I use my domain here with mydomain
Contact Email - enter your email address
Step #4 Security Check
Fill out the captcha in the Text in the Box
Step #5 Make a new Text Doc, copy and paste the App ID and the App Secret you will need this later when you setup Facebook on your forum.

Step # 6 Thing to Fill out using the Settings Basic Tab

1.) App Domains
Don't use http://www. or https://www. or www.
Use name only - mydomain.com

I'm not sure if you need to use them but I filled them out.
Privacy Policy URL
Terms of Service URL

2.) + Add Platform
3.) Click on Website
4.) Paste in you Web Site URL http://www.mydomain.com/community/index.php

Step #7 Settings Advanced Tab
I just left the default settings and didn't change anything.

Now setting up your Forum for Facebook,

Step #1 go to your Admin Control Panel

1.) Click on Options
2.) Click on Facebook Integration
3.) Enter your Facebook Application ID
4.) Enter your Facebook Application Secret

I left everything else on the default settings.

Now it time to test everything

1.) Now go to your Tool Tab
2.) Click on Test Facebook Integration
This will test the XenForo's Facebook integration. You must have a Facebook account to perform this test.

3.) Click the Run Test button.

If everything work fine, you should see Test Passed! with the following information.

Name associated with your Facebook account an your Email address associated with Facebook account along with your Facebook Profile image.

I hope this help someone on setting up XenForo's Facebook integration
 
Top Bottom