C# Class BoxKite.Twitter.TimelineExtensions

Datei anzeigen Open project: nickhodge/BoxKite.Twitter

Public Methods

Method Description
GetHomeTimeline ( this session, long sinceId, int count = 20, long maxId ) : Task>

Returns a collection of the most recent Tweets and retweets posted by the authenticating user and the users they follow. The home timeline is central to how most users interact with the Twitter service.

ref: https://dev.twitter.com/docs/api/1.1/get/statuses/home_timeline

GetMentions ( this session, long sinceId, long maxId, int count = 20 ) : Task>

Returns the count (default) 20 most recent mentions (tweets containing a users's @screen_name) for the authenticating user

ref :https://dev.twitter.com/docs/api/1.1/get/statuses/mentions_timeline

GetRetweetsOfMe ( this session, long sinceId, long maxId, int count = 20 ) : Task>

Returns the most recent tweets authored by the authenticating user that have been retweeted by others.

ref: https://dev.twitter.com/docs/api/1.1/get/statuses/retweets_of_me

GetUserTimeline ( this session, string screenName = "", long userId, long sinceId, long maxId, int count = 200, bool excludeReplies = true, bool includeRetweets = true ) : Task>

Returns a collection of the most recent Tweets posted by the user indicated by the screen_name or user_id parameters.

ref: https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline

Method Details

GetHomeTimeline() public static method

Returns a collection of the most recent Tweets and retweets posted by the authenticating user and the users they follow. The home timeline is central to how most users interact with the Twitter service.
ref: https://dev.twitter.com/docs/api/1.1/get/statuses/home_timeline
public static GetHomeTimeline ( this session, long sinceId, int count = 20, long maxId ) : Task>
session this
sinceId long Returns results with an ID greater than (that is, more recent than) the specified ID.
count int Specifies the number of records to retrieve. Must be less than or equal to 200. Defaults to 20.
maxId long Returns results with an ID less than (that is, older than) or equal to the specified ID.
return Task>

GetMentions() public static method

Returns the count (default) 20 most recent mentions (tweets containing a users's @screen_name) for the authenticating user
ref :https://dev.twitter.com/docs/api/1.1/get/statuses/mentions_timeline
public static GetMentions ( this session, long sinceId, long maxId, int count = 20 ) : Task>
session this
sinceId long Returns results with an ID greater than (that is, more recent than) the specified ID.
maxId long Returns results with an ID less than (that is, older than) or equal to the specified ID.
count int Specifies the number of tweets to try and retrieve, up to a maximum of 200.
return Task>

GetRetweetsOfMe() public static method

Returns the most recent tweets authored by the authenticating user that have been retweeted by others.
ref: https://dev.twitter.com/docs/api/1.1/get/statuses/retweets_of_me
public static GetRetweetsOfMe ( this session, long sinceId, long maxId, int count = 20 ) : Task>
session this
sinceId long Returns results with an ID greater than (that is, more recent than) the specified ID.
maxId long Returns results with an ID less than (that is, older than) or equal to the specified ID.
count int Specifies the number of records to retrieve. Must be less than or equal to 100. If omitted, 20 will be assumed.
return Task>

GetUserTimeline() public static method

Returns a collection of the most recent Tweets posted by the user indicated by the screen_name or user_id parameters.
ref: https://dev.twitter.com/docs/api/1.1/get/statuses/user_timeline
public static GetUserTimeline ( this session, string screenName = "", long userId, long sinceId, long maxId, int count = 200, bool excludeReplies = true, bool includeRetweets = true ) : Task>
session this
screenName string The screen name of the user for whom to return results for.
userId long The ID of the user for whom to return results for.
sinceId long Returns results with an ID greater than (that is, more recent than) the specified ID.
maxId long Returns results with an ID less than (that is, older than) or equal to the specified ID.
count int Specifies the number of tweets to try and retrieve, up to a maximum of 200 per distinct request
excludeReplies bool This parameter will prevent replies from appearing in the returned timeline.
includeRetweets bool When set to false, the timeline will strip any native retweets
return Task>