1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Facebook OAuthException Error

Discussion in 'Troubleshooting and Problems' started by Fufu, Apr 27, 2011.

  1. Fufu

    Fufu Well-Known Member

    I receive an OAuthException error when I test the facebook integration.
    I have the Secret App Key, App ID, and even Administrator ID set.
    I have repopulated the Secret App Key 4x now.
    I have updated all website information, including the URL and domain name information.

    Code:
    {
      "error": {
          "type": "OAuthException",
          "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration."
      }
    }
    Any ideas are worth a shot.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Fufu likes this.
  3. Fufu

    Fufu Well-Known Member

    For the record, the xenForo manual needs to state this problem:
    Code:
    {
      "error": {
          "type": "OAuthException",
          "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration."
      }
    }
    Then the xenForo manual needs to suggest this solution:

    In 'admin.php' -> Basic Board Options -> Board URL needs to match exactly the facebook My Apps -> Edit Settings -> Web Site -> Site URL.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

  5. Fufu

    Fufu Well-Known Member

    This explanation or something similar would be most helpful if added to the xenForo manual.
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    I'll add it to my list of updates.
     
    Fufu likes this.
  7. Sean James

    Sean James Well-Known Member

    I'm also getting this error:

    Everything is configured correctly so I'm not sure what is the cause. I currrently have about 8 different account configured for other forum software without any problems so I know it's configured :/
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    If all of the FB App settings are correct, as well as the board URL containing the http:// then there's not much more that can be done at this end.
     
  9. Sean James

    Sean James Well-Known Member

    Is this a common issue?
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

  11. Sean James

    Sean James Well-Known Member

    No problem, just tried a few more things and not working :( I guess I wont be using Facebook connect.

    Thanks for your help.
     

Share This Page