"janrain" like Twitter connector can be implemented to get you started here are some links:
After you perform all necessary steps with Twitter connector and get all the data from Twitter you need to follow these steps to enable the user MonoX usage:
1. Create or Update a user in MonoX system
2. Put user in default roles
3. Login the user
authenticatedUser = Membership.GetUser(providerUserKey);
if (authenticatedUser == null)
{
string userNameToUse = SecurityUtility.FindAvailableUserName(preferredName);
MembershipCreateStatus membershipCreateStatus;
MembershipUser authenticatedUser = Membership.CreateUser(userNameToUse, SecurityUtility.GenerateRandomPassword(), eMail, "PasswordQuestion", preferredName, true, providerUserKey, out membershipCreateStatus);
//add user to default user role id it exists
try
{
foreach (string role in MonoXUtility.SplitConfigurationString(ApplicationSettings.DefaultUserRoles))
Roles.AddUserToRole(userNameToUse, role);
}
catch { }
}
else
{
//update e-mail address if it has changed
if (!string.IsNullOrEmpty(eMail) && authenticatedUser.Email != eMail)
{
authenticatedUser.Email = eMail;
Membership.UpdateUser(authenticatedUser);
}
}
// Use FormsAuthentication to tell ASP.NET that the user is now logged in,
// with the OpenID Claimed Identifier as their username.
FormsAuthentication.RedirectFromLoginPage(authenticatedUser.UserName, false);
I hope this will get you started if you have any additional questions feel free to post them here