Instagram following API
GET /following/{user_id} · GetSocialAPI
Following list. Upstream: friendships/{id}/following/.
Request
| Parameter | In | Required | Description |
|---|---|---|---|
user_id | path | yes | Numeric user id |
count | query | no | Page size, default 25 (the service returns at most 25 per page; values above 50 are rejected) |
max_id | query | no | Cursor from next_max_id of the previous page |
query | query | no | Filter the list by name |
Response
Response example — click to expand (collapsed: one array item shown per array)
{
"users": [
{
"fbid_v2": 17841472230875263,
"pk": 72202111695,
"pk_id": "72202111695",
"id": "72202111695",
"third_party_downloads_enabled": 1,
"strong_id__": "72202111695",
"full_name": "Dina Powell McCormick",
"is_private": false,
"is_verified": true,
"profile_pic_id": "3575054917208606929_72202111695",
"profile_pic_url": "https://instagram.fbcn2-1.fna.fbcdn.net/v/t51.2885-19/481481864_1957100698117554_4186730375385551660_n.jpg?stp=dst-jpg_e0_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby41NzguYzIifQ&_nc_ht=instagram.fbcn2-1.fna.fbcdn.net&_nc_cat=106&_nc_oc=Q6cZ2gHXOh53QGlS1K-CDSy54LPohaCkRVxZTfLBUBcJrgYlyw9g6jSTCNapQh7xKZcUu_8&_nc_ohc=i2v4wuFTsy8Q7kNvwFQvKQi&_nc_gid=0iINqkhgEJeHJ35Txh3uow&edm=ALB854YBAAAA&ccb=7-5&ig_cache_key=GIjUshyypeYD_fMGACyTMRsYQRo6bkULAAAB1501500j-ccb7-5&oh=00_AQMO0wBo84VIm4i4FYfyvpMiI_Xo314-mn1YuVFHKjIFog&oe=6AD83008&_nc_sid=ce9561",
"username": "dinapowellmccormick",
"account_badges": [],
"has_anonymous_profile_picture": false,
"latest_reel_media": 0,
"is_favorite": false
}
],
"big_list": true,
"page_size": 25,
"next_max_id": "25",
"has_more": true,
"should_limit_list_of_followers": false,
"use_clickable_see_more": false,
"follow_ranking_token": "1efcb422e01b4e479c4ba4a431c55d7c|73444686096|osr",
"should_limit_list_of_followings": false,
"hidden_following_account_count": 0,
"status": "ok"
}
note
Same shape as get user followers.
Instagram caps this list at 25 per page natively; paginate by passing
next_max_id back as max_id until it is null; deduplicate by pk.