C# Class InstaSharp.Endpoints.Tags

The Tag API
Inheritance: InstaSharp.Endpoints.InstagramApi
Mostrar archivo Open project: burkeholland/InstaSharp Class Usage Examples

Public Methods

Method Description
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

Method Details

Get() public method

Get information about a tag object.
public Get ( string tagName ) : Task
tagName string Return information about this tag.
return Task

Recent() public method

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.
return Task

Search() public method

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)
return Task

Tags() public method

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.
return System.Threading.Tasks