In this guide you learn how to add facebook login to your javascript app. You should redirect the user to another page after a successful login..