Twitter Explorer avatar
Twitter Explorer
Try for free

7 days trial then $30.00/month - No credit card required now

View all Actors
Twitter Explorer

Twitter Explorer

jupri/twitter-scraper
Try for free

7 days trial then $30.00/month - No credit card required now

All-in-one solution to scrape every aspect of Twitter.com

User avatar

Get account data of multiple users

Open

pulsewave opened this issue
4 months ago

Hey again! Is there any way to pull account data from multiple accounts in 1 api call? I've used the from @account1 OR account2 OR account3 with type People, but sometimes accounts aren't showing there for some reason.

Wondering if there's another way, thanks!

User avatar

cat (Jupri)

4 months ago

Hello. it is possible (1 twitter request per account name). maybe I can add a new parameter for this. . just hold on .

User avatar

pulsewave

4 months ago

Awesome let me know! I found another workaround in the meantime which is to add all accounts I want to get data in a list, then request the get list members endpoint! Requires some work to manage that list though

User avatar

cat (Jupri)

4 months ago

Great finding! in case you still need the other way, I have added new parameter users for scraping multiple user profiles. let me know if something broken

User avatar

pulsewave

4 months ago

Awesome! It works well, although the speed time for each run is significantly longer, which would have a big impact in my use case as I have to process lots of users.

My current setup for user lookup takes about 8s { "filters.from": "@DeFi_Paanda", "filters.type": "people", "limit": 1 }

While the new method takes bout 30s even for 1 account only { "limit": 1, "users": [ "@DeFi_Paanda" ] }

Not sure if there is anything you can do about that one though!

Thanks again!

User avatar

cat (Jupri)

4 months ago

hey @pulsewave, yep it use one request per username, compared to your method using only one request which is more efficient The long time delays probably because this actor using proxies.

User avatar

pulsewave

4 months ago

Ok I'll stick with my current method for large requests then thank you!

Developer
Maintained by Community
Actor metrics
  • 44 monthly users
  • 92.1% runs succeeded
  • 29.6 days response time
  • Created in May 2023
  • Modified 4 days ago
Categories