使用其他网站页面连接到Facebook [英] connect to facebook using other website page

查看:123
本文介绍了使用其他网站页面连接到Facebook的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨猜想,
我在asp.net上开发了一个动态网站.在那里,我通过Facebook制作了登录页面.我想当用户使用其Facebook用户名和密码登录此页面时.登录后,用户无需登录即可使用他们的facebook,也可以在我的网站上注册.


请帮助我解决这个问题

hi guess,
i was developed a dynamic website in asp.net. there i make a login page through facebook. i want when a user login in this page with their facebook username and password. after login user is able to use their facebook without login and as well as also register in my website.


please help me in this

推荐答案

我在Facebook上创建了登录页面
您自己回答了问题! 通过facebook"!

我怀疑Facebook与您的网站没有任何交易/关系,因此,如果他们发现在您的网站上登录的人避免/绕过了Facebook本身的登录.

最终结果:您不能使用您的网站来执行/限制它.
there i make a login page through facebook
You answered your question by yourself! "Through facebook"!

I doubt facebook has any deal/connection with your site such that if they find peopled logged in on your site avoid/bypass login on facebook itself.

End result: You cannot do/restrict it using your website.


您好,

您在询问有关在浏览器的一个选项卡上打开Facebook,但在另一个选项卡上不应打开它的问题.目前尚不可能.将来可能会出现,但目前他们在每个浏览器中使用单个会话.因此,当您使用facebook登录时,它将为您创建一个会话.它会一直保留到您注销为止.

因此,正如sandeep所说,这是不可能的.

但是一种可能的解决方法是,在用户浏览完站点中的facebook之后,如果用户成功登录,则创建自己的Session.并立即从facebook注销.但这仅在使用Facebook登录功能时有效.:)

谢谢
-Amit Gajjar
Hi,

You are asking about opening facebook on one Tab of browser but on another Tab it should not open. it''s not possible for now. In future it may be there but currently they are using single session per browser. So when you login using facebook it will create one session for you. it will remain until you logout.

So as sandeep said, it''s not possible.

But one possible workaround is, After loing through facebook in your site, create your own Session if user successfully login. And Logout from the facebook immediately. But this will work only if you are using facebook login functionality.:)

Thanks
-Amit Gajjar


这篇关于使用其他网站页面连接到Facebook的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆