def get_all_followings(igapi, target_userid):
    """
    Returns a list of {"username": "", "userid": 0, "is_private": false, "full_name": ""}
    """
    following_list = []
    current_followings_list = igapi.getTotalFollowings(target_userid)
    for following in current_followings_list:
        user = {
            "username": following["username"],
            "userid": following["pk"],
            "is_private": following["is_private"],
            "full_name": following["full_name"],
        }
        following_list.append(user)
    return following_list