My Little Help Desk - ASP Help Forum
My Little Help Desk - ASP Help Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
 All Forums
 My Little Help Desk - ASP Help
 Active Server Pages
 FB.Auth.setAuthResponse only compatible w/ OAuth2
 New Topic  Reply to Topic
Author Topic  

Administrator

28 Posts

Posted - 11/28/2011 :  15:39:49  Show Profile  Reply with Quote
This was a REALLY annoying issue with the Facebook API, used to track social button activity.

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

FIX. I changed the integration script to:

window.fbAsyncInit = function () {
FB.init({
appId: 'your app id here',
status: true,
cookie: true,
xfbml: true
});
}

(function (d) {
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) { return; }
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
d.getElementsByTagName('head')[0].appendChild(js);
} (document));


Hopefully that fixes your problem! Let me know how you make out ...
  Topic  
 New Topic  Reply to Topic
Jump To:
My Little Help Desk - ASP Help Forum © mylittlehelpdesk.com Go To Top Of Page
Snitz Forums 2000