Skip to main content

Get Followers

Retrieve user followers by user id.

Params

NameTypeDefaultDescription
id (required)intUser id
countint12Number of users to return (max: 50)
max_idstringNoneUse for pagination
querystringNoneSearch query

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

Note: if query is specified, count and max_id is ignored.

Usage

from rocketapi import InstagramAPI


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

Response example

Loading...