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