rival-black
rival-black3y ago

I'm very new to Apify and APIs in general, how do I get the latest tweet with a scraper?

I'll be using JS to get all the info.
13 Replies
optimistic-gold
optimistic-gold3y ago
Hi @Basel_Dev
optimistic-gold
optimistic-gold3y ago
You can use this Twitter scraper for that purpose - https://apify.com/microworlds/twitter-scraper
Apify
Twitter Scraper · Apify
Twitter Scraper searches and extracts data from Twitter - parses and converts the data to structured formats: HTML table, JSON, CSV, Excel and XML.
optimistic-gold
optimistic-gold3y ago
You can specify the search mode. To get latest results, set the search mode to Live
rival-black
rival-blackOP3y ago
Ah, I'm looking to do that on a specific profile though
optimistic-gold
optimistic-gold3y ago
No description
optimistic-gold
optimistic-gold3y ago
Yes, you can provide a search URL. E.g., to get the latest tweets from the twitter account elonmusk, you can pass in the URL: https://twitter.com/search?q=(from%3Aelonmusk)&src=typed_query&f=live
rival-black
rival-blackOP3y ago
Thank you so much! How do I automate this with Nodejs though?
optimistic-gold
optimistic-gold3y ago
I am running a sample for you, will soon complete 👍
rival-black
rival-blackOP3y ago
Is there any tutorial on how to export these results automatically, so that my code can use them?
optimistic-gold
optimistic-gold3y ago
Apify
Apify Console
Manage the Apify platform and your account.
optimistic-gold
optimistic-gold3y ago
I think you can simply use Apify's APIs for this
rival-black
rival-blackOP3y ago
Thank you!

Did you find this page helpful?