Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FB.Auth.setAuthResponse only compatible with OAuth2 issue

Loading my facebook page in a tab shows following error:

 FB.Auth.setAuthResponse only compatible with OAuth2.

I use oauth parameter like this:

FB.init({
    appId: fbAppId,
    status: true,
    cookie: true,
    xfbml: false,
    oauth: true
});

Am I doing something wrong ?

like image 232
sensor Avatar asked Nov 14 '22 16:11

sensor


1 Answers

remove the parameters from your JDK including:

script src="http://connect.facebook.net/en_US/all.js"
like image 115
Worthy7 Avatar answered Jan 13 '23 23:01

Worthy7