C# Class OpenTween.Api.TwitterApi

Inheritance: IDisposable
Exibir arquivo Open project: opentween/OpenTween Class Usage Examples

Public Methods

Method Description
AccountUpdateProfile ( string name, string url, string location, string description ) : Task>
AccountUpdateProfileImage ( IMediaItem image ) : Task>
AccountVerifyCredentials ( ) : Task
ApplicationRateLimitStatus ( ) : Task
BlocksCreate ( string screenName ) : Task>
BlocksDestroy ( string screenName ) : Task>
BlocksIds ( long cursor = null ) : Task
Configuration ( ) : Task
CreateOAuthEchoHandler ( Uri authServiceProvider, Uri realm = null ) : OAuthEchoHandler
DirectMessagesDestroy ( long statusId ) : Task>
DirectMessagesNew ( string status, string sendTo ) : Task>
DirectMessagesRecv ( int count = null, long maxId = null, long sinceId = null ) : Task
DirectMessagesSent ( int count = null, long maxId = null, long sinceId = null ) : Task
Dispose ( ) : void
EscapeJsonString ( string rawText ) : string

JSON に出力する文字列を ECMA-404 に従ってエスケープする

FavoritesCreate ( long statusId ) : Task>
FavoritesDestroy ( long statusId ) : Task>
FavoritesList ( int count = null, long maxId = null, long sinceId = null ) : Task
FollowersIds ( long cursor = null ) : Task
FriendshipsCreate ( string screenName ) : Task>
FriendshipsDestroy ( string screenName ) : Task>
FriendshipsShow ( string sourceScreenName, string targetScreenName ) : Task
Initialize ( string accessToken, string accessSecret, long userId, string screenName ) : void
ListsCreate ( string name, string description = null, bool @private = null ) : Task>
ListsDestroy ( long listId ) : Task>
ListsMembers ( long listId, long cursor = null ) : Task
ListsMembersCreate ( long listId, string screenName ) : Task>
ListsMembersDestroy ( long listId, string screenName ) : Task>
ListsMembersShow ( long listId, string screenName ) : Task
ListsMemberships ( string screenName, long cursor = null, int count = null, bool filterToOwnedLists = null ) : Task
ListsOwnerships ( string screenName, long cursor = null, int count = null ) : Task
ListsStatuses ( long listId, int count = null, long maxId = null, long sinceId = null, bool includeRTs = null ) : Task
ListsSubscriptions ( string screenName, long cursor = null, int count = null ) : Task
ListsUpdate ( long listId, string name = null, string description = null, bool @private = null ) : Task>
MediaMetadataCreate ( long mediaId, string altText ) : Task
MediaUpload ( IMediaItem media ) : Task>
MutesUsersIds ( long cursor = null ) : Task
NoRetweetIds ( long cursor = null ) : Task
SearchTweets ( string query, string lang = null, int count = null, long maxId = null, long sinceId = null ) : Task
StatusesDestroy ( long statusId ) : Task>
StatusesHomeTimeline ( int count = null, long maxId = null, long sinceId = null ) : Task
StatusesMentionsTimeline ( int count = null, long maxId = null, long sinceId = null ) : Task
StatusesRetweet ( long statusId ) : Task>
StatusesShow ( long statusId ) : Task
StatusesUpdate ( string status, long replyToId, IReadOnlyList mediaIds ) : Task>
StatusesUserTimeline ( string screenName, int count = null, long maxId = null, long sinceId = null ) : Task
UserStreams ( string replies = null, string track = null ) : Task
UsersReportSpam ( string screenName ) : Task>
UsersShow ( string screenName ) : Task

Method Details

AccountUpdateProfile() public method

public AccountUpdateProfile ( string name, string url, string location, string description ) : Task>
name string
url string
location string
description string
return Task>

AccountUpdateProfileImage() public method

public AccountUpdateProfileImage ( IMediaItem image ) : Task>
image IMediaItem
return Task>

AccountVerifyCredentials() public method

public AccountVerifyCredentials ( ) : Task
return Task

ApplicationRateLimitStatus() public method

public ApplicationRateLimitStatus ( ) : Task
return Task

BlocksCreate() public method

public BlocksCreate ( string screenName ) : Task>
screenName string
return Task>

BlocksDestroy() public method

public BlocksDestroy ( string screenName ) : Task>
screenName string
return Task>

BlocksIds() public method

public BlocksIds ( long cursor = null ) : Task
cursor long
return Task

Configuration() public method

public Configuration ( ) : Task
return Task

CreateOAuthEchoHandler() public method

public CreateOAuthEchoHandler ( Uri authServiceProvider, Uri realm = null ) : OAuthEchoHandler
authServiceProvider System.Uri
realm System.Uri
return OAuthEchoHandler

DirectMessagesDestroy() public method

public DirectMessagesDestroy ( long statusId ) : Task>
statusId long
return Task>

DirectMessagesNew() public method

public DirectMessagesNew ( string status, string sendTo ) : Task>
status string
sendTo string
return Task>

DirectMessagesRecv() public method

public DirectMessagesRecv ( int count = null, long maxId = null, long sinceId = null ) : Task
count int
maxId long
sinceId long
return Task

DirectMessagesSent() public method

public DirectMessagesSent ( int count = null, long maxId = null, long sinceId = null ) : Task
count int
maxId long
sinceId long
return Task

Dispose() public method

public Dispose ( ) : void
return void

EscapeJsonString() public static method

JSON に出力する文字列を ECMA-404 に従ってエスケープする
public static EscapeJsonString ( string rawText ) : string
rawText string
return string

FavoritesCreate() public method

public FavoritesCreate ( long statusId ) : Task>
statusId long
return Task>

FavoritesDestroy() public method

public FavoritesDestroy ( long statusId ) : Task>
statusId long
return Task>

FavoritesList() public method

public FavoritesList ( int count = null, long maxId = null, long sinceId = null ) : Task
count int
maxId long
sinceId long
return Task

FollowersIds() public method

public FollowersIds ( long cursor = null ) : Task
cursor long
return Task

FriendshipsCreate() public method

public FriendshipsCreate ( string screenName ) : Task>
screenName string
return Task>

FriendshipsDestroy() public method

public FriendshipsDestroy ( string screenName ) : Task>
screenName string
return Task>

FriendshipsShow() public method

public FriendshipsShow ( string sourceScreenName, string targetScreenName ) : Task
sourceScreenName string
targetScreenName string
return Task

Initialize() public method

public Initialize ( string accessToken, string accessSecret, long userId, string screenName ) : void
accessToken string
accessSecret string
userId long
screenName string
return void

ListsCreate() public method

public ListsCreate ( string name, string description = null, bool @private = null ) : Task>
name string
description string
@private bool
return Task>

ListsDestroy() public method

public ListsDestroy ( long listId ) : Task>
listId long
return Task>

ListsMembers() public method

public ListsMembers ( long listId, long cursor = null ) : Task
listId long
cursor long
return Task

ListsMembersCreate() public method

public ListsMembersCreate ( long listId, string screenName ) : Task>
listId long
screenName string
return Task>

ListsMembersDestroy() public method

public ListsMembersDestroy ( long listId, string screenName ) : Task>
listId long
screenName string
return Task>

ListsMembersShow() public method

public ListsMembersShow ( long listId, string screenName ) : Task
listId long
screenName string
return Task

ListsMemberships() public method

public ListsMemberships ( string screenName, long cursor = null, int count = null, bool filterToOwnedLists = null ) : Task
screenName string
cursor long
count int
filterToOwnedLists bool
return Task

ListsOwnerships() public method

public ListsOwnerships ( string screenName, long cursor = null, int count = null ) : Task
screenName string
cursor long
count int
return Task

ListsStatuses() public method

public ListsStatuses ( long listId, int count = null, long maxId = null, long sinceId = null, bool includeRTs = null ) : Task
listId long
count int
maxId long
sinceId long
includeRTs bool
return Task

ListsSubscriptions() public method

public ListsSubscriptions ( string screenName, long cursor = null, int count = null ) : Task
screenName string
cursor long
count int
return Task

ListsUpdate() public method

public ListsUpdate ( long listId, string name = null, string description = null, bool @private = null ) : Task>
listId long
name string
description string
@private bool
return Task>

MediaMetadataCreate() public method

public MediaMetadataCreate ( long mediaId, string altText ) : Task
mediaId long
altText string
return Task

MediaUpload() public method

public MediaUpload ( IMediaItem media ) : Task>
media IMediaItem
return Task>

MutesUsersIds() public method

public MutesUsersIds ( long cursor = null ) : Task
cursor long
return Task

NoRetweetIds() public method

public NoRetweetIds ( long cursor = null ) : Task
cursor long
return Task

SearchTweets() public method

public SearchTweets ( string query, string lang = null, int count = null, long maxId = null, long sinceId = null ) : Task
query string
lang string
count int
maxId long
sinceId long
return Task

StatusesDestroy() public method

public StatusesDestroy ( long statusId ) : Task>
statusId long
return Task>

StatusesHomeTimeline() public method

public StatusesHomeTimeline ( int count = null, long maxId = null, long sinceId = null ) : Task
count int
maxId long
sinceId long
return Task

StatusesMentionsTimeline() public method

public StatusesMentionsTimeline ( int count = null, long maxId = null, long sinceId = null ) : Task
count int
maxId long
sinceId long
return Task

StatusesRetweet() public method

public StatusesRetweet ( long statusId ) : Task>
statusId long
return Task>

StatusesShow() public method

public StatusesShow ( long statusId ) : Task
statusId long
return Task

StatusesUpdate() public method

public StatusesUpdate ( string status, long replyToId, IReadOnlyList mediaIds ) : Task>
status string
replyToId long
mediaIds IReadOnlyList
return Task>

StatusesUserTimeline() public method

public StatusesUserTimeline ( string screenName, int count = null, long maxId = null, long sinceId = null ) : Task
screenName string
count int
maxId long
sinceId long
return Task

UserStreams() public method

public UserStreams ( string replies = null, string track = null ) : Task
replies string
track string
return Task

UsersReportSpam() public method

public UsersReportSpam ( string screenName ) : Task>
screenName string
return Task>

UsersShow() public method

public UsersShow ( string screenName ) : Task
screenName string
return Task