C# Класс instagrammer.MediaClient

Наследование: BaseClient
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Comment ( string mediaId, string text ) : ApiSingleResponse

Add's the comment to the media item http://instagram.com/developer/endpoints/comments/#post_media_comments

Comments ( string mediaId ) : ApiResponse

Get the full list of comments on the media http://instagram.com/developer/endpoints/comments/#get_media_comments

Like ( string mediaId ) : ApiSingleResponse

Set a like of the media by the currently authenticated user http://instagram.com/developer/endpoints/likes/#post_media_likes

Likes ( string mediaId ) : ApiResponse

Return a list of users who have liked this media http://instagram.com/developer/endpoints/likes/#get_media_likes

Media ( string mediaId ) : ApiSingleResponse

Get the details (full record) of the specified media http://instagram.com/developer/endpoints/media/#get_media

MediaClient ( string token )
Popular ( string clientId ) : ApiResponse

Finds the most popular media on instagram right now. http://instagram.com/developer/endpoints/media/#get_media_popular

Search ( string lat, string lng, string distance ) : ApiResponse

Search for media by longitude, latitude and distance http://instagram.com/developer/endpoints/media/#get_media_search

UnComment ( string mediaId, string commentId ) : ApiSingleResponse

Removes the specified comment from the media http://instagram.com/developer/endpoints/comments/#delete_media_comments

UnLike ( string mediaId ) : ApiSingleResponse

Remove a like on the media by the currently authenticated user http://instagram.com/developer/endpoints/likes/#delete_media_likes

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

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

Add's the comment to the media item http://instagram.com/developer/endpoints/comments/#post_media_comments
public Comment ( string mediaId, string text ) : ApiSingleResponse
mediaId string The id of the media object to add the comment to
text string The text of the comment
Результат ApiSingleResponse

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

Get the full list of comments on the media http://instagram.com/developer/endpoints/comments/#get_media_comments
public Comments ( string mediaId ) : ApiResponse
mediaId string The id of the media object to get the details for
Результат ApiResponse

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

Set a like of the media by the currently authenticated user http://instagram.com/developer/endpoints/likes/#post_media_likes
public Like ( string mediaId ) : ApiSingleResponse
mediaId string The id of the media to like
Результат ApiSingleResponse

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

Return a list of users who have liked this media http://instagram.com/developer/endpoints/likes/#get_media_likes
public Likes ( string mediaId ) : ApiResponse
mediaId string The id of the media to get the list of liking users for.
Результат ApiResponse

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

Get the details (full record) of the specified media http://instagram.com/developer/endpoints/media/#get_media
public Media ( string mediaId ) : ApiSingleResponse
mediaId string The id of the media object to get the details for
Результат ApiSingleResponse

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

public MediaClient ( string token )
token string

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

Finds the most popular media on instagram right now. http://instagram.com/developer/endpoints/media/#get_media_popular
public Popular ( string clientId ) : ApiResponse
clientId string
Результат ApiResponse

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

Search for media by longitude, latitude and distance http://instagram.com/developer/endpoints/media/#get_media_search
public Search ( string lat, string lng, string distance ) : ApiResponse
lat string
lng string
distance string
Результат ApiResponse

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

Removes the specified comment from the media http://instagram.com/developer/endpoints/comments/#delete_media_comments
public UnComment ( string mediaId, string commentId ) : ApiSingleResponse
mediaId string The id of the media to remove the comment from
commentId string The id of the comment to rememove
Результат ApiSingleResponse

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

Remove a like on the media by the currently authenticated user http://instagram.com/developer/endpoints/likes/#delete_media_likes
public UnLike ( string mediaId ) : ApiSingleResponse
mediaId string The id of the media to remove the like from
Результат ApiSingleResponse