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.

Afficher le fichier Open project: yergacheffe/apple2t

Méthodes publiques

Méthode Description
GetCachedItems ( ) : List
GetItemsFromUser ( string user ) : List
GetLatestItems ( ) : List
GetMentions ( ) : List

Private Methods

Méthode Description
GetAuthenticatedRequest ( ) : IFluentTwitter

Returns an authenticated TweetSharp request object

GetPublicRequest ( ) : IFluentTwitter

Returns a TweetSharp request object without authentication.

Method Details

GetCachedItems() public static méthode

public static GetCachedItems ( ) : List
Résultat List

GetItemsFromUser() public static méthode

public static GetItemsFromUser ( string user ) : List
user string
Résultat List

GetLatestItems() public static méthode

public static GetLatestItems ( ) : List
Résultat List

GetMentions() public static méthode

public static GetMentions ( ) : List
Résultat List