C# 클래스 Twitter4CS.Rest.TwitterApi

파일 보기 프로젝트 열기: nk0t/Twitter4CS

공개 프로퍼티들

프로퍼티 타입 설명
TwitterApiUrl string

공개 메소드들

메소드 설명
Block ( this oauth, string screenName ) : User

指定したScreenNameのユーザーをブロックします

DestroyDirectMessage ( this oauth, long messageId ) : DirectMessage

指定したMessageIdのダイレクトメッセージを削除します

DestroyStatus ( this oauth, long statusId ) : Status

指定したStatusIdのステータスを削除します

Favorite ( this oauth, long statusId ) : Status

指定したStatusIdからツイートをお気に入りに追加します

Follow ( this oauth, string screenName ) : User

指定したScreenNameのユーザーをフォローします

GetBlockingIDs ( this oauth, long cursor = -1 ) : IDs

指定したユーザーがフォローしているユーザーのIDを5000件まで取得します

cursorは-1から始まり、取得しきれなかった場合は次のcursorが与えられます

GetFollowerIDs ( this oauth, string screenName, long cursor = -1 ) : IDs

指定したユーザーをフォローしているユーザーのIDを5000件まで取得します

cursorは-1から始まり、取得しきれなかった場合は次のcursorが与えられます

GetFriendIDs ( this oauth, string screenName, long cursor = -1 ) : IDs

指定したユーザーがフォローしているユーザーのIDを5000件まで取得します

cursorは-1から始まり、取得しきれなかった場合は次のcursorが与えられます

GetFriendships ( this oauth, string targetScreenNames ) : Friendship[]

指定したユーザーと自分との簡単な関係を取得します

詳細な関係が知りたければGetRelationshipを使用してください

GetHomeTimeline ( this oauth, int count = 200, int sinceId = -1, int maxId = -1 ) : Status[]

自分のタイムラインを取得します

GetMentionsTimeline ( this oauth, int count = 200, int sinceId = -1, int maxId = -1 ) : Status[]

Mentionsを取得します

GetOwnUser ( this oauth ) : User

自分自身のUserオブジェクトを取得します

GetRecievedDirectMessages ( this oauth, int count = 20, int page = 1, int sinceId = -1, int maxId = -1 ) : DirectMessage[]

受信したダイレクトメッセージを取得します

GetRelationship ( this oauth, string sourceScreenName, string targetScreenName ) : Relationship

指定したユーザー間の関係を取得します

GetSentDirectMessages ( this oauth, int count = 20, int page = 1, int sinceId = -1, int maxId = -1 ) : DirectMessage[]

送信したダイレクトメッセージを取得します

GetStatus ( this oauth, long statusId ) : Status

指定したStatusIdのステータスを取得します

GetUser ( this oauth, long userId ) : User

指定したUserIDからユーザーを取得します

GetUser ( this oauth, string screenName ) : User

指定したScreenNameからユーザーを取得します

GetUserTimeline ( this oauth, string screenName = null, int count = 200, int sinceId = -1, int maxId = -1, bool includeRts = false ) : Status[]

指定したScreenNameのユーザーの発言を取得します

指定しなければ自分の発言を取得します

GetUsers ( this oauth, long userId ) : User[]

指定した複数のUserIDから最大100件までユーザーを取得します

GetUsers ( this oauth, string screenNames ) : User[]

指定した複数のScreenNameから最大100件までユーザーを取得します

Remove ( this oauth, string screenName ) : User

指定したScreenNameのユーザーへのフォローを解除します

ReportSpam ( this oauth, string screenName ) : User

指定したScreenNameのユーザーをスパム報告します

Retweet ( this oauth, long statusId ) : Status

指定したStatusIdからツイートをリツイートします

Search ( this oauth, string query, ICollection &resultStatuses, SearchProperties prop = null ) : SearchResult

指定した文字列でツイートを検索します

SendDirectMessage ( this oauth, long userId, string text ) : DirectMessage

指定したUserIdのユーザーにダイレクトメッセージを送信します

SendDirectMessage ( this oauth, string screenName, string text ) : DirectMessage

指定したScreenNameのユーザーにダイレクトメッセージを送信します

UnFavorite ( this oauth, long statusId ) : Status

指定したStatusIdからツイートをお気に入りから削除します

Unblock ( this oauth, string screenName ) : User

指定したScreenNameのユーザーへのブロックを解除します

UpdateStatus ( this oauth, string text, long inReplyTo = null ) : Status

ツイートを投稿します

메소드 상세

Block() 공개 정적인 메소드

指定したScreenNameのユーザーをブロックします
public static Block ( this oauth, string screenName ) : User
oauth this
screenName string
리턴 User

DestroyDirectMessage() 공개 정적인 메소드

指定したMessageIdのダイレクトメッセージを削除します
public static DestroyDirectMessage ( this oauth, long messageId ) : DirectMessage
oauth this
messageId long
리턴 DirectMessage

DestroyStatus() 공개 정적인 메소드

指定したStatusIdのステータスを削除します
public static DestroyStatus ( this oauth, long statusId ) : Status
oauth this
statusId long
리턴 Status

Favorite() 공개 정적인 메소드

指定したStatusIdからツイートをお気に入りに追加します
public static Favorite ( this oauth, long statusId ) : Status
oauth this
statusId long
리턴 Status

Follow() 공개 정적인 메소드

指定したScreenNameのユーザーをフォローします
public static Follow ( this oauth, string screenName ) : User
oauth this
screenName string
리턴 User

GetBlockingIDs() 공개 정적인 메소드

指定したユーザーがフォローしているユーザーのIDを5000件まで取得します

cursorは-1から始まり、取得しきれなかった場合は次のcursorが与えられます

public static GetBlockingIDs ( this oauth, long cursor = -1 ) : IDs
oauth this
cursor long
리턴 IDs

GetFollowerIDs() 공개 정적인 메소드

指定したユーザーをフォローしているユーザーのIDを5000件まで取得します

cursorは-1から始まり、取得しきれなかった場合は次のcursorが与えられます

public static GetFollowerIDs ( this oauth, string screenName, long cursor = -1 ) : IDs
oauth this
screenName string
cursor long
리턴 IDs

GetFriendIDs() 공개 정적인 메소드

指定したユーザーがフォローしているユーザーのIDを5000件まで取得します

cursorは-1から始まり、取得しきれなかった場合は次のcursorが与えられます

public static GetFriendIDs ( this oauth, string screenName, long cursor = -1 ) : IDs
oauth this
screenName string
cursor long
리턴 IDs

GetFriendships() 공개 정적인 메소드

指定したユーザーと自分との簡単な関係を取得します

詳細な関係が知りたければGetRelationshipを使用してください

public static GetFriendships ( this oauth, string targetScreenNames ) : Friendship[]
oauth this
targetScreenNames string
리턴 Friendship[]

GetHomeTimeline() 공개 정적인 메소드

自分のタイムラインを取得します
public static GetHomeTimeline ( this oauth, int count = 200, int sinceId = -1, int maxId = -1 ) : Status[]
oauth this
count int
sinceId int
maxId int
리턴 Status[]

GetMentionsTimeline() 공개 정적인 메소드

Mentionsを取得します
public static GetMentionsTimeline ( this oauth, int count = 200, int sinceId = -1, int maxId = -1 ) : Status[]
oauth this
count int
sinceId int
maxId int
리턴 Status[]

GetOwnUser() 공개 정적인 메소드

自分自身のUserオブジェクトを取得します
public static GetOwnUser ( this oauth ) : User
oauth this
리턴 User

GetRecievedDirectMessages() 공개 정적인 메소드

受信したダイレクトメッセージを取得します
public static GetRecievedDirectMessages ( this oauth, int count = 20, int page = 1, int sinceId = -1, int maxId = -1 ) : DirectMessage[]
oauth this
count int
page int
sinceId int
maxId int
리턴 DirectMessage[]

GetRelationship() 공개 정적인 메소드

指定したユーザー間の関係を取得します
public static GetRelationship ( this oauth, string sourceScreenName, string targetScreenName ) : Relationship
oauth this
sourceScreenName string
targetScreenName string
리턴 Relationship

GetSentDirectMessages() 공개 정적인 메소드

送信したダイレクトメッセージを取得します
public static GetSentDirectMessages ( this oauth, int count = 20, int page = 1, int sinceId = -1, int maxId = -1 ) : DirectMessage[]
oauth this
count int
page int
sinceId int
maxId int
리턴 DirectMessage[]

GetStatus() 공개 정적인 메소드

指定したStatusIdのステータスを取得します
public static GetStatus ( this oauth, long statusId ) : Status
oauth this
statusId long
리턴 Status

GetUser() 공개 정적인 메소드

指定したUserIDからユーザーを取得します
public static GetUser ( this oauth, long userId ) : User
oauth this
userId long
리턴 User

GetUser() 공개 정적인 메소드

指定したScreenNameからユーザーを取得します
public static GetUser ( this oauth, string screenName ) : User
oauth this
screenName string
리턴 User

GetUserTimeline() 공개 정적인 메소드

指定したScreenNameのユーザーの発言を取得します

指定しなければ自分の発言を取得します

public static GetUserTimeline ( this oauth, string screenName = null, int count = 200, int sinceId = -1, int maxId = -1, bool includeRts = false ) : Status[]
oauth this
screenName string
count int
sinceId int
maxId int
includeRts bool
리턴 Status[]

GetUsers() 공개 정적인 메소드

指定した複数のUserIDから最大100件までユーザーを取得します
public static GetUsers ( this oauth, long userId ) : User[]
oauth this
userId long
리턴 User[]

GetUsers() 공개 정적인 메소드

指定した複数のScreenNameから最大100件までユーザーを取得します
public static GetUsers ( this oauth, string screenNames ) : User[]
oauth this
screenNames string
리턴 User[]

Remove() 공개 정적인 메소드

指定したScreenNameのユーザーへのフォローを解除します
public static Remove ( this oauth, string screenName ) : User
oauth this
screenName string
리턴 User

ReportSpam() 공개 정적인 메소드

指定したScreenNameのユーザーをスパム報告します
public static ReportSpam ( this oauth, string screenName ) : User
oauth this
screenName string
리턴 User

Retweet() 공개 정적인 메소드

指定したStatusIdからツイートをリツイートします
public static Retweet ( this oauth, long statusId ) : Status
oauth this
statusId long
리턴 Status

Search() 공개 정적인 메소드

指定した文字列でツイートを検索します
public static Search ( this oauth, string query, ICollection &resultStatuses, SearchProperties prop = null ) : SearchResult
oauth this
query string 検索したい文字列
resultStatuses ICollection 検索結果を格納するコレクション
prop SearchProperties 検索条件を定義したSearchPropertiesオブジェクト
리턴 SearchResult

SendDirectMessage() 공개 정적인 메소드

指定したUserIdのユーザーにダイレクトメッセージを送信します
public static SendDirectMessage ( this oauth, long userId, string text ) : DirectMessage
oauth this
userId long
text string
리턴 DirectMessage

SendDirectMessage() 공개 정적인 메소드

指定したScreenNameのユーザーにダイレクトメッセージを送信します
public static SendDirectMessage ( this oauth, string screenName, string text ) : DirectMessage
oauth this
screenName string
text string
리턴 DirectMessage

UnFavorite() 공개 정적인 메소드

指定したStatusIdからツイートをお気に入りから削除します
public static UnFavorite ( this oauth, long statusId ) : Status
oauth this
statusId long
리턴 Status

Unblock() 공개 정적인 메소드

指定したScreenNameのユーザーへのブロックを解除します
public static Unblock ( this oauth, string screenName ) : User
oauth this
screenName string
리턴 User

UpdateStatus() 공개 정적인 메소드

ツイートを投稿します
public static UpdateStatus ( this oauth, string text, long inReplyTo = null ) : Status
oauth this
text string 投稿する文字列
inReplyTo long リプライ先のStatusId
리턴 Status

프로퍼티 상세

TwitterApiUrl 공개적으로 정적으로 프로퍼티

public static string TwitterApiUrl
리턴 string