I assembled a group of users and put them in the "users" variable. I iterate over them and try to follow them using my new Twitter account. However, after about 15 years, Twitter has been haunting me for exceeding the bid limit. I want to run this again, but without the users that I have already followed. How to remove "i" from the "users" array after they have been respected, or somehow return a new array from this with users that I still have to stick to? I know methods like pop and unshift, etc., but I'm not sure where "i" comes from the "users" array. I am an eternal novice, so please provide as many details as possible
No, users are actually a "cursor", not an array, so it does not have a length method
>> users.each do |i| ?> myuseraccount.twitter.follow(i) >> end
Twitter :: Error :: TooManyRequests: speed limit exceeded
source share