javascript - Google, Facebook oauth Login for SPA without Page Refresh -


i working on single page radio player web application. want integrate facebook or google oauth login in app.

i want radio player continue playing while user login app using oauth login flow. how implement oauth login without page refresh.

you can use javascript sdk this, fb.login function: https://developers.facebook.com/docs/reference/javascript/fb.login/

if docs not enough you, here´s tutorial: http://www.devils-heaven.com/facebook-javascript-sdk-login/


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -