Facebook的/ Twitter的登录在我的应用程序 [英] Facebook/Twitter login in my application

查看:205
本文介绍了Facebook的/ Twitter的登录在我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发展我的网站,并在我的地盘我希望用户通过登录自己的
社交网络的凭据,如Facebook和Twitter。

I am developing my site and in my site I want users to login through their social network credentials like Facebook and Twitter.

每当他们做任何事件在我的网站我应该如何跟踪这些用户?假设一个用户与Facebook用户名和功放登录;密码,现在他将被重定向到下一个页面。在该页面中,我们正在做像'添加的东西的一些活动。如何跟踪呢?

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. On that page, we are doing some activity like 'add something'. How to track this?

是否有任何程序与这方面的工作?

Is there any procedure for working with this?

推荐答案

通常的做法是用户的Facebook或Twitter帐户与内部帐户相关联,然后通过内部帐户ID跟踪所有用户活动。如果用户新登录不具有内部帐户,然后静静地从Facebook / Twitter数据和自动助理创建它。

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. 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您的ASP.Net应用程序中使用的Facebook C#SDK 对于Facebook和 Twitterizer 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的/ Twitter的登录在我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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