Skip to main content

Get Tags

Retrieve user tags by id.

Params

NameTypeDefaultDescription
id (required)intUser id
countint12Number of media to retrieve (max: 50)
max_idstringNoneUse for pagination

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

Usage

from rocketapi import InstagramAPI


instagram_api = InstagramAPI(token="your-api-key")
print(instagram_api.get_user_tags(173560420, count=12))

Response example

Loading...