C# Класс InstaSharp.Endpoints.Tags

The Tag API
Наследование: InstaSharp.Endpoints.InstagramApi
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Get ( string tagName ) : Task

Get information about a tag object.

Recent ( string tagName, string min_id = "", string max_id = "" ) : Task

Get a list of recently tagged media. Note that this media is ordered by when the media was tagged with this tag, rather than the order it was posted. Use the max_tag_id and min_tag_id parameters in the pagination response to paginate through these objects.

Search ( string searchTerm ) : Task

Search for tags by name. Results are ordered first as an exact match, then by popularity. Short tags will be treated as exact matches.

Tags ( InstagramConfig config, InstaSharp.Models.Responses.OAuthResponse auth = null ) : System.Threading.Tasks

Tag Endpoints

Описание методов

Get() публичный Метод

Get information about a tag object.
public Get ( string tagName ) : Task
tagName string Return information about this tag.
Результат Task

Recent() публичный Метод

Get a list of recently tagged media. Note that this media is ordered by when the media was tagged with this tag, rather than the order it was posted. Use the max_tag_id and min_tag_id parameters in the pagination response to paginate through these objects.
public Recent ( string tagName, string min_id = "", string max_id = "" ) : Task
tagName string Return information about this tag.
min_id string Return media before this min_id. If you don't want to use this parameter, use null.
max_id string Return media after this max_id. If you don't want to use this parameter, use null.
Результат Task

Search() публичный Метод

Search for tags by name. Results are ordered first as an exact match, then by popularity. Short tags will be treated as exact matches.
public Search ( string searchTerm ) : Task
searchTerm string A valid tag name without a leading #. (eg. snowy, nofilter)
Результат Task

Tags() публичный Метод

Tag Endpoints
public Tags ( InstagramConfig config, InstaSharp.Models.Responses.OAuthResponse auth = null ) : System.Threading.Tasks
config InstagramConfig An instance of the InstagramConfig class
auth InstaSharp.Models.Responses.OAuthResponse An instance of the OAuthResponse class.
Результат System.Threading.Tasks