简体   繁体   中英

Can I use the Twitter gem to pull Twitter .user data from multiple Twitter names at the same time?

Ok. I've got a Ruby on Rails application and have successfully gotten authentication (thanks to other responses here). I can get it to tweet, read from the timeline, pull followers of the authenticated user, etc.

However, now what I'm looking to do is pull the follower lists of the authenticated user, determine which (if any) of those accounts is verified or not and then display the verified accounts. I can pull the nickname of each follower, however, it seems like I have to do each call individually (.user(ID#1) then .user(ID#2) then etc.) which results in me hitting the rate limit cap.

Therefore, what I'm looking for is a way to pass multiple IDs and return the user information for each ID in one call (or at least fewer than a 1 ID: 1 API call). I feel like this has to be possible (in fac

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM