facebook Graph API deprecation

  • Archived  

By ht1080z - March 31, 2017

Hi,

27 February (but just saw it) i got a message from Facebook that my app currently has access to Graph API v2.2 which will reach the end of its 2-year lifetime on 27 March, 2017. To ensure a smooth transition, please migrate all calls to Graph API v2.3 or higher. And indeed my app login has stopped to work with error message:

_facebookLogin_loginFromFacebook: No access_token!

Is this realted to the changes of Graph API?

I'm using a customized verison 1.03. The latest version of the plugin (v1.04) is correct this error?

Please advise,
Karls

  • Archived  

By Dave - April 4, 2017

Hi Karlz, 

We're seeing this as well.  Facebook must have updated something.  We're working on a fix.

Dave Edis - Senior Developer
interactivetools.com
  • Archived  

By robin - April 5, 2017

Here is a small fix to get version 1.04 of the FaceBook Login plugin working with the FaceBook API changes.

We just need to replace one line in facebookLogin.php.

Search for this line:

  parse_str( $response, $responseValues );

Change to:

  $responseValues = $json;


Please let us know how that fix works for you.  Thanks,
Robin

Robin
Programmer
interactivetools.com
  • Archived  

By ht1080z - April 5, 2017

Hi Robin,

Thank you for the quick fix, works great!

Regards,
Karls