开发者

Facebook Connect: Load New Page After Login

开发者 https://www.devze.com 2023-03-04 19:19 出处:网络
I\'m looking to replicate the flow of airbnb\'s login system, on my website: 1) User logs in via facebook: https://www.airbnb.com/login

I'm looking to replicate the flow of airbnb's login system, on my website:

1) User logs in via facebook: https://www.airbnb.com/login 2) Once user is authenticated, a new page loads: http://www.airbnb.com/home/dashboard

I imagine this has something to do with the onload attribute of the fb:login-button, but I'm too much of a noob to get it. Can someone point me in the right direction?

开发者_JAVA百科

Thank you very much in advance!


once they are logged, in just run the following js:

window.location = "http://www.airbnb.com/home/dashboard";
0

精彩评论

暂无评论...
验证码 换一张
取 消