开发者

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.

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?


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.

Btw, integrating your ASP.Net app with Facebook and Twitter will be easier using Facebook C# SDK for Facebook and Twitterizer for Twitter.


Have a look a the OAuth C# Library http://www.matlus.com/oauth-c-library/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜