简体   繁体   English

我的应用程序中的Facebook / Twitter登录

[英]Facebook/Twitter login in my application

I am developing my site and in my site I want users to login through their social network credentials like Facebook and Twitter. 我正在开发自己的网站,在我的网站中,我希望用户通过其社交网络凭据(例如Facebook和Twitter)登录。

How should I track these users whenever they do any event on my site? 每当他们在我的网站上进行任何活动时,我应该如何跟踪他们? Suppose a user logs in with Facebook username & password, and now he is redirected to the next page. 假设一个用户使用Facebook用户名和密码登录,现在他被重定向到下一页。 On that page, we are doing some activity like 'add something'. 在该页面上,我们正在执行“添加内容”之类的活动。 How to track this? 如何追踪呢?

Is there any procedure for working with this? 是否有任何与此相关的程序?

The common practice is to associate user's Facebook or Twitter account with your internal account and then track all user activity via your internal account id. 通常的做法是将用户的Facebook或Twitter帐户与您的内部帐户相关联,然后通过您的内部帐户ID跟踪所有用户活动。 If the newly logged in user doesn't have an internal account, then silently create it from Facebook/Twitter data and auto-associate. 如果新登录的用户没有内部帐户,请通过Facebook / Twitter数据静默创建该帐户并自动关联。

Btw, integrating your ASP.Net app with Facebook and Twitter will be easier using Facebook C# SDK for Facebook and Twitterizer for Twitter. 顺便说一句,使用适用于Facebook的Facebook C#SDK和适用于Twitter的Twitterizer可以更轻松地将ASP.Net应用程序与Facebook和Twitter集成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在ASP.NET Web应用程序中使用Facebook,Twitter,Linkin实施登录 - Implement Login using Facebook,Twitter,Linkin in asp.net web application 如何使用Facebook登录应用程序 - how to use facebook login for an application 想要在我的Web应用程序中使用Facebook,Google和Window live mail添加登录 - Would like to add login with facebook , google and Window live mail in my web application 使用登录(facebook,twitter,google,microsoft)创建HotTowel网站? - Create a HotTowel site with login (facebook, twitter, google, microsoft)? 是否有可能从用户应用程序更新Facebook和Twitter详细信息 - Is there any possibility to update facebook and twitter details from user application 使用C#Web应用程序发布到Facebook和Twitter上 - Post to wall on Facebook and twitter using c# web application 将Owin Facebook登录名添加到类库中的现有应用程序 - Add Owin Facebook login to existing application in class library 在vb.net应用程序中从FaceBook登录中检索电子邮件ID - Retrieve Email Id from FaceBook Login in vb.net application 尝试从我的应用程序在Twitter上搜索人员时的Twitter身份验证问题 - Twitter Authentication issue when try to search people on twitter from my application 用Twitter登录不发送电子邮件 - Login with twitter is not sending Email
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM