C# Class Twitter4CS.Rest.TwitterApi

Afficher le fichier Open project: nk0t/Twitter4CS

Méthodes publiques

Свойство Type Description
TwitterApiUrl string

Méthodes publiques

Méthode Description
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

ツイートを投稿します

Method Details

Block() public static méthode

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

DestroyDirectMessage() public static méthode

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

DestroyStatus() public static méthode

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

Favorite() public static méthode

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

Follow() public static méthode

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

GetBlockingIDs() public static méthode

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

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

public static GetBlockingIDs ( this oauth, long cursor = -1 ) : IDs
oauth this
cursor long
Résultat IDs

GetFollowerIDs() public static méthode

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

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

public static GetFollowerIDs ( this oauth, string screenName, long cursor = -1 ) : IDs
oauth this
screenName string
cursor long
Résultat IDs

GetFriendIDs() public static méthode

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

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

public static GetFriendIDs ( this oauth, string screenName, long cursor = -1 ) : IDs
oauth this
screenName string
cursor long
Résultat IDs

GetFriendships() public static méthode

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

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

public static GetFriendships ( this oauth, string targetScreenNames ) : Friendship[]
oauth this
targetScreenNames string
Résultat Friendship[]

GetHomeTimeline() public static méthode

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

GetMentionsTimeline() public static méthode

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

GetOwnUser() public static méthode

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

GetRecievedDirectMessages() public static méthode

受信したダイレクトメッセージを取得します
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
Résultat DirectMessage[]

GetRelationship() public static méthode

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

GetSentDirectMessages() public static méthode

送信したダイレクトメッセージを取得します
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
Résultat DirectMessage[]

GetStatus() public static méthode

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

GetUser() public static méthode

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

GetUser() public static méthode

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

GetUserTimeline() public static méthode

指定した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
Résultat Status[]

GetUsers() public static méthode

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

GetUsers() public static méthode

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

Remove() public static méthode

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

ReportSpam() public static méthode

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

Retweet() public static méthode

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

Search() public static méthode

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

SendDirectMessage() public static méthode

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

SendDirectMessage() public static méthode

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

UnFavorite() public static méthode

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

Unblock() public static méthode

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

UpdateStatus() public static méthode

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

Property Details

TwitterApiUrl public_oe static_oe property

public static string TwitterApiUrl
Résultat string