C# Class TweetWall.TwitterProvider

Data source provider for Twitter data. Some of the methods require you to authenticate with Twitter. For testing the unauthenticated methods will work fine, but you'll eventually want your own personal timeline.

To get authentication working, you'll need to do the following steps: 1. Register a new application at http://dev.twitter.com/apps/new For Application type, select "Client" which means you do not need to provide a callback URL. I selected Read&Write access, but Read may be sufficient. 2. Go to http://dev.twitter.com/apps and select the newly created application to get access to the authentication keys. On this page under "OAuth 1.0a Settings" you will see a "Consumer key" and a "Consumer secret" that identifies your application. Copy these to the ConsumerKey and ConsumerSecret fields below. 3. On the right side of the page is a link to view "My access token" Click this link. This gives you the access token for your Twitter account. Copy these values into the AccessToken and AccessTokenSecret fields below You should now be ready to use the authenticated queries.

Exibir arquivo Open project: yergacheffe/apple2t

Public Methods

Method Description
GetCachedItems ( ) : List
GetItemsFromUser ( string user ) : List
GetLatestItems ( ) : List
GetMentions ( ) : List

Private Methods

Method Description
GetAuthenticatedRequest ( ) : IFluentTwitter

Returns an authenticated TweetSharp request object

GetPublicRequest ( ) : IFluentTwitter

Returns a TweetSharp request object without authentication.

Method Details

GetCachedItems() public static method

public static GetCachedItems ( ) : List
return List

GetItemsFromUser() public static method

public static GetItemsFromUser ( string user ) : List
user string
return List

GetLatestItems() public static method

public static GetLatestItems ( ) : List
return List

GetMentions() public static method

public static GetMentions ( ) : List
return List