I want to create a modal login window for Facebook for a site using the Facebook PHP SDK.
That currently works to click the link to the Facebook user is sent on the Facebook page, make login and then returns to a page that checks if the user is already logged into my site and then direct access to his home or if you You must first register.
Current process: Facebook login link Redirect page on Facebook to check user and password Back on my page access control
I would like to avoid that is to get out of my site and then return and create a modal only to click on that link to Facebook I open the modal, put username and password and send him back to the control page.
Procedure wanted: Facebook login link Modal for user and password without redirect Back on my page for access control
I used this simple javascript code test:
window.open ({uri_Facebook_page_login} ,
_blank ,toolbar = no, scrollbars = yes, resizable = yes,
top = 300, left = 500, width = 700, height = 600);
The problem is that he does the redirect on the new browser window (the modal page).