C# Класс BoxKite.Twitter.FavouritesExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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>