Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Create a new service and set the current authenticated user
- TwitterService service = new TwitterService();
- service.AuthenticateAs(username, password);
- // Get the authenticated user's profile
- TwitterUser profile = service.GetUserProfile();
- // Determine if a TwitterUser is following another
- var isFollowing = profile.IsFollowing("dimebrain");
- // Tweet as the authenticated user
- var tweet = service.Tweet("This is the simple API for TweetSharp");
Add Comment
Please, Sign In to add comment