| CommentsPost Method |
Create a comment on a media. Please email apidevelopers[at]instagram.com for access.
Requires Authentication: True
Required Scope: comments
Namespace: InstaSharp.EndpointsAssembly: InstaSharp (in InstaSharp.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax public Task<CommentResponse> Post(
string mediaId,
string comment
)
Public Function Post (
mediaId As String,
comment As String
) As Task(Of CommentResponse)
public:
Task<CommentResponse^>^ Post(
String^ mediaId,
String^ comment
)
member Post :
mediaId : string *
comment : string -> Task<CommentResponse>
Parameters
- mediaId
- Type: SystemString
The id of the media on which to post a comment. - comment
- Type: SystemString
Text to post as a comment on the media as specified in media-id.
Return Value
Type:
TaskCommentResponseCommentsResponse
See Also