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.

파일 보기 프로젝트 열기: yergacheffe/apple2t

공개 메소드들

메소드 설명
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