C# 클래스 BoxKite.Twitter.FavouritesExtensions

파일 보기 프로젝트 열기: nickhodge/BoxKite.Twitter

공개 메소드들

메소드 설명
CreateFavourite ( this session, Tweet tweet ) : Task

https://dev.twitter.com/docs/api/1.1/post/favorites/create Favourites a given tweet

DeleteFavourite ( this session, Tweet tweet ) : Task

https://dev.twitter.com/docs/api/1.1/post/favorites/destroy Un-favourites a given tweet

GetFavourites ( this session, string screenName = "", int userId, long sinceId, long maxId, int count = 20 ) : Task>

https://dev.twitter.com/docs/api/1.1/get/favorites/list Returns the count most recent Tweets favorited by the authenticating or specified user. If user_id and screen_name is left blank, current auth'd user favourites are returned Entities are always returned

메소드 상세

CreateFavourite() 공개 정적인 메소드

https://dev.twitter.com/docs/api/1.1/post/favorites/create Favourites a given tweet
public static CreateFavourite ( this session, Tweet tweet ) : Task
session this
tweet BoxKite.Twitter.Models.Tweet Tweet for to favourite
리턴 Task

DeleteFavourite() 공개 정적인 메소드

https://dev.twitter.com/docs/api/1.1/post/favorites/destroy Un-favourites a given tweet
public static DeleteFavourite ( this session, Tweet tweet ) : Task
session this
tweet BoxKite.Twitter.Models.Tweet Tweet for to favourite
리턴 Task

GetFavourites() 공개 정적인 메소드

https://dev.twitter.com/docs/api/1.1/get/favorites/list Returns the count most recent Tweets favorited by the authenticating or specified user. If user_id and screen_name is left blank, current auth'd user favourites are returned Entities are always returned
public static GetFavourites ( this session, string screenName = "", int userId, long sinceId, long maxId, int count = 20 ) : Task>
session this
screenName string The screen name of the user for whom to return results for
userId int The ID of the user for whom to return results for
sinceId long Returns results with an ID greater than
maxId long Returns results with an ID less than (that is, older than) or equal to the specified
count int Specifies the number of records to retrieve. Must be less than or equal to 200. Defaults to 20.
리턴 Task>