Search code examples
c#twittertwitter-oauthtwitterizer

Twitter API Safe Authentication


I'm using the C# Twitterizer in a WPF application to authenticate users to Twitter so I can publish tweets to their stream. (But that's irrelevant because the question is about the API itself).

I do not wish to create a new login interface, I want to use Twitter's Login page embedded in a WebBrowser control. Does Twitter support the same authentication style as Facebook where the user logs in to the regular FB login page and the access token is sent back in the callback URL? Or sending the username and password is the only way to get an access token (in Twitter)?!


Solution

  • Yes, Twitter seupports the same authentication style than Facebook called OAuth. Facebook uses OAuth 2 and Twitter uses OAuth 1.0a

    Take a look to Spring.NET Social Twitter : http://springframework.net/social-twitter/ It provides samples for what you are trying to do.