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

PU

Get account data of multiple users

Closed

pulsewave opened this issue
a year 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!

Jupri avatar

cat (Jupri)

a year ago

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

PU

pulsewave

a year 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

Jupri avatar

cat (Jupri)

a year 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

PU

pulsewave

a year 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!

Jupri avatar

cat (Jupri)

a year 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.

PU

pulsewave

a year ago

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

Developer
Maintained by Community
Actor metrics
  • 12 monthly users
  • 3 stars
  • 89.2% runs succeeded
  • 9.9 hours response time
  • Created in May 2023
  • Modified 4 months ago
Categories