2
votes

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?

2
so you have no idea how to create a users table on your own database and insert data to it, but you want step by step explanation for what you've asked. Smells like homework.gkaykck

2 Answers

3
votes

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.