C# Класс 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.

Показать файл Открыть проект

Открытые методы

Метод Описание
GetCachedItems ( ) : List
GetItemsFromUser ( string user ) : List
GetLatestItems ( ) : List
GetMentions ( ) : List

Приватные методы

Метод Описание
GetAuthenticatedRequest ( ) : IFluentTwitter

Returns an authenticated TweetSharp request object

GetPublicRequest ( ) : IFluentTwitter

Returns a TweetSharp request object without authentication.

Описание методов

GetCachedItems() публичный статический Метод

public static GetCachedItems ( ) : List
Результат List

GetItemsFromUser() публичный статический Метод

public static GetItemsFromUser ( string user ) : List
user string
Результат List

GetLatestItems() публичный статический Метод

public static GetLatestItems ( ) : List
Результат List

GetMentions() публичный статический Метод

public static GetMentions ( ) : List
Результат List