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

  • SEARCH
  • Home
  • 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 6717431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:51:03+00:00 2026-05-26T08:51:03+00:00

In using the new Javascrip SDK for facebook I get the following error when

  • 0

In using the new Javascrip SDK for facebook I get the following error when trying to

(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
  '//connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);}());
window.fbAsyncInit = function(e) {
var curLoc = window.location;
var channel = curLoc.protocol + "//" + curLoc.hostname + (curLoc.pathname).substr(0,(curLoc.pathname).lastIndexOf('/')) + "/channel.html";
FB.init({ appId: APP_ID, 
    status: true, 
    cookie: true,
    xfbml: true,
    channelUrl: channel,
    oauth: true});
FB.getLoginStatus(isUserLoggedIn);
FB.Canvas.setAutoGrow();}

Uncaught Error: FB.Auth.setAuthResponse only compatible with OAuth2

What would be the cause of this? my app is in SSL mode and I can’t seem to figure out why that error shows up.

  • 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-26T08:51:04+00:00Added an answer on May 26, 2026 at 8:51 am

    Is that definitely the only place the JS SDK is included? Check for copy/pasted Like button init code, etc.

    I’ve seen this error occur when people are including the JS SDK with some parameters in the URL (i.e including //connect.facebook.net/en_US/all.js#appid=x somewhere) – this overrides some of the parameters in the FB.init call and can result in the error message you’re getting

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

Sidebar

Related Questions

I am migrating my Facebook canvas application to using the new PHP SDK. However,
I'm trying to switch over to the new Facebook JavaScript SDK from the old
I'm using the Facebook php-sdk to get the users name and friends, right now
I am trying to get a streampublish box with facebook's new graph api example.
Is it possible to launch a new window in JavaScript using the window.Open function,
when using new Date,I get something like follows: Fri May 29 2009 22:39:02 GMT+0800
I am using facebook javascript sdk to retrieve logged in users info. I am
I've got or site working with timeline using the new javascript SDK sample code
I'm trying to make a new spine javascript app using d3 (generated using Spine.app).
originally i was using a .net sdk for facebook found here: http://facebooktoolkit.codeplex.com/ but now,

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.