C# 클래스 instagrammer.MediaClient

상속: BaseClient
파일 보기 프로젝트 열기: jonezy/instagrammer 1 사용 예제들

공개 메소드들

메소드 설명
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