Skip to main content

Get Likes

Retrieve comment likes by comment id.

Params

NameTypeDefaultDescription
id (required)intComment id
max_idstringNoneUse for pagination

You can use the max_id parameter to paginate through likes (take from the next_max_id field of the response).

Usage

from rocketapi import InstagramAPI


instagram_api = InstagramAPI(token="your-api-key")
print(instagram_api.get_comment_likes(17955687830179362))

Response example

Loading...