Hi,
I have a script in my server which is written with node js where I used oneall node sdk api's to get user token etc. But when I try to send my script in set_callback_uri Javascript API. It is giving me "405 method not allowed error " on the screen after I logged in using facebook for example. So my question is , what is exactly callback url that is referring in here?
_oneall.push(['social_login', 'set_callback_uri', '
https://domainname/callback.js']);
Any help appreciated, thanks!
Answers
please have a look here:
http://docs.oneall.com/services/implementation-guide/social-login/#4 To catch the result using JavaScript you need to use an event:
http://docs.oneall.com/api/javascript/library/events/#on_login_redirect
So it needs to be a fully qualified URL.