Suddenly facebook login in meteor 1.3.4.2 stoped working

I was using meteor 1.3.4.2. Facebook login was working fine after 27.03.2017 it stopped working.

Error Exception while invoking method 'login' Error: Failed to complete OAuth handshake with Facebook. {"access_token":"access-token","token_type":"bearer","expires_in":5183999}
I20170328-16:48:20.291(5.5)?     at getTokenResponse (packages/facebook/facebook_server.js:71:1)
I20170328-16:48:20.291(5.5)?     at Object.isJSON [as handleOauthRequest] (packages/facebook/facebook_server.js:8:1)
I20170328-16:48:20.291(5.5)?     at OAuth._requestHandlers.(anonymous function) (packages/oauth2/oauth2_server.js:8:1)
I20170328-16:48:20.291(5.5)?     at middleware (packages/oauth/oauth_server.js:173:1)
I20170328-16:48:20.292(5.5)?     at packages/oauth/oauth_server.js:146:1

I upgraded to meteor 1.4.3.2 and now its working fine as earlier.
Same code, same facebook app setting.

Anyone faced this issue?

Ok. Thanks @robfallows to let us know.

I found https://developers.facebook.com/docs/apps/changelog this in facebook.

1 Like

I updated to the latest version of Meteor and am still getting an error.

2017-04-17 09:21:31-04:00Exception while invoking method 'login' Error: Failed to complete OAuth handshake with Facebook. {"access_token":"xxxx EDITED FOR SECURITY xxxx","token_type":"bearer","expires_in":5183910}
2017-04-17 09:21:31-04:00 at getTokenResponse (packages/facebook-oauth.js:97:11)
2017-04-17 09:21:31-04:00 at Object.handleOauthRequest (packages/facebook-oauth.js:52:18)
2017-04-17 09:21:31-04:00 at OAuth._requestHandlers.(anonymous function) (packages/oauth2.js:27:31)
2017-04-17 09:21:31-04:00 at middleware (packages/oauth.js:203:5)
2017-04-17 09:21:31-04:00 at packages/oauth.js:176:5

I’m at a loss. How do I even approach fixing this issue?

EDIT: I fixed the issue. I was using facebook-oauth@1.3.1-beta.1 and rolled back to facebook-oauth@1.3.0. I had to meteor remove accounts-facebook and then meteor add accounts-facebook to get it working. Removing facebook-oauth doesn’t work.