C# Class instagrammer.MediaClient

Inheritance: BaseClient
Afficher le fichier Open project: jonezy/instagrammer Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

Comment() public méthode

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
Résultat ApiSingleResponse

Comments() public méthode

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
Résultat ApiResponse

Like() public méthode

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
Résultat ApiSingleResponse

Likes() public méthode

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.
Résultat ApiResponse

Media() public méthode

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
Résultat ApiSingleResponse

MediaClient() public méthode

public MediaClient ( string token )
token string

Popular() public méthode

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
Résultat ApiResponse

Search() public méthode

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
Résultat ApiResponse

UnComment() public méthode

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
Résultat ApiSingleResponse

UnLike() public méthode

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
Résultat ApiSingleResponse