douzhun4124 2015-12-03 12:07
浏览 30

facebook在模态窗口中登录

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).

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 无线电能传输系统MATLAB仿真问题
    • ¥50 如何用脚本实现输入法的热键设置
    • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
    • ¥30 深度学习,前后端连接
    • ¥15 孟德尔随机化结果不一致
    • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
    • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
    • ¥15 谁有desed数据集呀
    • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
    • ¥15 关于#hadoop#的问题