HELP REQUESTED :Unable to Login with facebook

I have used $meteor.loginWithFacebook({ requestPermissions: [‘email’, ‘user_friends’] }, function (err) {Code
})

But while executing this I get following error in console:

W20170329-10:18:22.422(5.5) (packages\logging.js:103) Error in OAuth Server: Failed to complete OAuth handshake with Facebook. {“access_token”:“DDSPae0ZCwAawBANioXMR6s666COleFNzjGUoQWESabC75aK4KjL6Bw3YQKlt9sktxZBWVKXMNsxZAMsXMpUzyJtk9csyFkht1Rd5TjaWSoShZCfG8Gb9X6JfSRZCZBjzJaJULNdUdZCa5KPMkouIIBAdeiejDDjdckaI5oZD”,“token_type”:“bearer”,“expires_in”:5183111}
I20170329-10:18:22.464(5.5)? Exception while invoking method ‘login’ Error: Failed to complete OAuth handshake with Facebook. {“access_token”:“DDSPae0ZCwAawBANioXMR6s666COleFNzjGUoQWESabC75aK4KjL6Bw3YQKlt9sktxZBWVKXMNsxZAMsXMpUzyJtk9csyFkht1Rd5TjaWSoShZCfG8Gb9X6JfSRZCZBjzJaJULNdUdZCa5KPMkouIIBAdeiejDDjdckaI5oZD”,“token_type”:“bearer”,“expires_in”:5183111}
I20170329-10:18:22.481(5.5)? at getTokenResponse (packages\facebook.js:97:11)
I20170329-10:18:22.484(5.5)? at Object.handleOauthRequest (packages\facebook.js:52:18)
I20170329-10:18:22.485(5.5)? at OAuth._requestHandlers.(anonymous function) (packages\oauth2.js:27:31)
I20170329-10:18:22.488(5.5)? at middleware (packages\oauth.js:203:5)
I20170329-10:18:22.501(5.5)? at packages\oauth.js:176:5


In Error I am getting Following Msg:

errorClass
details
:
undefined
error
:
500
errorType
:
"Meteor.Error"
message
:
"Internal server error [500]"
reason
:
"Internal server error"
stack
:
"Error↔ at Connection.livedata_result (http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:4675:23)↔ at onMessage (http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:3369:12)↔ at http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:2736:11↔ at Array.forEach (native)↔ at Function..each._.forEach (http://localhost:3000/packages/underscore.js?hash=27b3d669b418de8577518760446467e6ff429b1e:149:11)↔ at SockJS.self.socket.onmessage (http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:2735:11)↔ at SockJS.REventTarget.dispatchEvent (http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:175:22)↔ at SockJS._dispatchMessage (http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:1160:10)↔ at SockJS._didMessage (http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:1218:18)↔ at WebSocket.that.ws.onmessage (http://localhost:3000/packages/ddp-client.js?hash=b5f1b97df6634673c68f37914ae9f4c3231c438e:1365:17)"
proto
:
Error

Hey @anand1074, check out this threat: Facebook-accounts is dead!

Hope it helps! Cheers :slight_smile:

2 Likes

Thanks,
it was accounts-facebook plugin
I have resolved the issue
other related link :
#8534

I have updated the accounts-facebook plugin and now its is working fine