Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
1.4k views
in Plugins by

OK, so I received an email from Facebook: 

Dear Developer,

As part of our continued efforts to migrate all apps to OAuth 2.0, we opted in all apps using the new JavaScript SDK to OAuth 2.0 this afternoon at 11am PT and reverted at 1:30pm because we noticed that your app has not migrated. Please ensure that you have set the oauth param in FB.init to true and that you are using FB.getAuthResponse to obtain the access token.

Read more in the OAuth2 migration announcement, updates to the new JS SDK blog post, or our JS SDK docs.

If your app was affected today, please ensure that you have made these changes by December 13th, 2012 to avoid any disruption with your users.

Thanks,
Facebook Developer Relations
"
 
Does this imply that QA Facebook plugin is not yet Oauth 2.0 compatible?  I look at the source code and it looks true. Is there an update to this plugin? Take note that Facebook is imposing some deadline, not sure if QA Facebook login would work after that date. Please advise. Thanks.
Q2A version: 1.4.3
by
edited by
Same problem here with v 1.3.

fb developers link:

http://developers.facebook.com/blog/post/534/

1 Answer

+1 vote
by
Version 1.5 beta 1 of Q2A (shortly to be released) uses the new oAuth 2.0 authentication for the Facebook API. The new Facebook Login plugin can also be installed in older versions of Q2A.
by
Hello,

Thanks for the efforts. I'll appreciate if you share with us estimated date for the release ?

our members can't login using FB at the moments.
by
Right about now... :)
by
thanks, i downloaded the beta, and replaced the older facebook plugin with the newer that came with 1.5b and things are working again perfectly.
by
edited by
In my case v1.3 it does not work. I copied the v 1.5 folder, but I receive the error as follows:

Parse error: syntax error, unexpected '{' in /homepages/43/......./qa-plugin/facebook-login/qa-facebook-login.php on line 80


Tried it a second time with the same result.

It is just uploading the new 1.5 plugin folder or do I have to do something else ?
by
This means your PHP version (presumably before PHP 5) is choking on the try { } statement in the Facebook Login plugin, i.e. it doesn't support exceptions. The Facebook PHP SDK seems to require PHP 5, so I'm not sure there's an easy solution here, apart from rewriting much of that SDK...
by
Thank You, I thought it could be the php version as other users do not have the same issue. I will see if I can get an update on the actual php version.
PHP version is 4.4.9.  This only for the fb plugin or will I have other issues with the script ?
by
Ok I could change the php version to 5.2.17 i think.
But now there is a new problem with missing sdk when logged in without facebook. But better I amke a new question so others can find it.
by
I believe the only think in Q2A that requires PHP 5 is the Facebook login plugin. In the second beta of Q2A 1.5 I'll make an explicit check for PHP 5, and the Facebook plugin will be disabled for earlier versions.
by
Thanks for the update. Will be rolling this update soon in the site. Cheers.
...