Skip to content

Function: getFollowers() ​

ts
function getFollowers(
   client, 
   pk, 
   options?
): Promise<Page<{
[key: string]: unknown;
  biography?: string;
  external_url?: string | null;
  follower_count?: number | null;
  following_count?: number | null;
  full_name?: string;
  is_private?: boolean;
  is_verified?: boolean;
  media_count?: number | null;
  pk?: string;
  profile_pic_url?: string | null;
  username?: string;
}>>;

One page of a user's followers. Pass cursor from a previous page to continue.

Parameters ​

ParameterType
clientPrivateClient
pkstring
options?FollowListOptions

Returns ​

Promise<Page<{ [key: string]: unknown; biography?: string; external_url?: string | null; follower_count?: number | null; following_count?: number | null; full_name?: string; is_private?: boolean; is_verified?: boolean; media_count?: number | null; pk?: string; profile_pic_url?: string | null; username?: string; }>>

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.