Function: paginateFollowers()
ts
function paginateFollowers(client, pk): AsyncGenerator<{
[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;
}>;Walks every follower of a user, yielding one at a time across pages.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
pk | string |
Returns
AsyncGenerator<{ [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; }>