getUserFollowing

fun getUserFollowing(username: String, amountOfFollowing: Int = Int.MAX_VALUE, isUsername: Boolean = false, isFilterPrivate: Boolean = false, isFilterVerified: Boolean = false, fileNameToWrite: String = "", isOverwrite: Boolean = false): Flow<String>

Get following list of given user

Return

Flow of usernames/userids

Parameters

amountOfFollowing

Amount of following users to retrieve

isUsername

Whether to retrieve username of following or not (if false, userid will be returned)

isFilterPrivate

Whether to filter private account or not

isFilterVerified

Whether to filter verified account or not

fileNameToWrite

File name to write usernames of following list. This is especially useful when following list is large (> 10K)

isOverwrite

Whether to replace existing usernames file or not