| LikesPost Method |
Set a like on this media by the currently authenticated user.
Requires Authentication: False
Required Scope: likes
Namespace: InstaSharp.EndpointsAssembly: InstaSharp (in InstaSharp.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax public Task<LikesResponse> Post(
string mediaId
)
Public Function Post (
mediaId As String
) As Task(Of LikesResponse)
public:
Task<LikesResponse^>^ Post(
String^ mediaId
)
member Post :
mediaId : string -> Task<LikesResponse>
Parameters
- mediaId
- Type: SystemString
The id of the media to create a like for.
Return Value
Type:
TaskLikesResponseLikesResponse
See Also