func GetFollowing(api *anaconda.TwitterApi, account string) []int64 { v := url.Values{} v.Set("screen_name", account) v.Set("count", "5000") var Following []int64 var id int64 pages := api.GetFriendsIdsAll(v) counter := 0 for page := range pages { //Print the current page of "Friends" for _, id = range page.Ids { counter++ Following = append(Following, id) log.Debug("["+strconv.Itoa(counter)+"] Getting another Following", id) } } return Following }