CA
sunny-green

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
absent-sapphire
absent-sapphire2y ago
Hi @Basel_Dev
absent-sapphire
absent-sapphire2y 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.
absent-sapphire
absent-sapphire2y ago
You can specify the search mode. To get latest results, set the search mode to Live
sunny-green
sunny-greenOP2y ago
Ah, I'm looking to do that on a specific profile though
absent-sapphire
absent-sapphire2y ago
No description
absent-sapphire
absent-sapphire2y 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
sunny-green
sunny-greenOP2y ago
Thank you so much! How do I automate this with Nodejs though?
absent-sapphire
absent-sapphire2y ago
I am running a sample for you, will soon complete 👍
sunny-green
sunny-greenOP2y ago
Is there any tutorial on how to export these results automatically, so that my code can use them?
absent-sapphire
absent-sapphire2y ago
Apify
Apify Console
Manage the Apify platform and your account.
absent-sapphire
absent-sapphire2y ago
I think you can simply use Apify's APIs for this
sunny-green
sunny-greenOP2y ago
Thank you!

Did you find this page helpful?