Twitter/X Reply Comment Scraper:Support Sentiment&Tone Analyzer
30 minutes trial then $15.00/month - No credit card required now
Twitter/X Reply Comment Scraper:Support Sentiment&Tone Analyzer
30 minutes trial then $15.00/month - No credit card required now
Extract up to 1,000 Twitter/X replies for just $0.01! With advanced sentiment and tone analysis, our Reply & Comment Scraper lets you sort replies by relevancy or likes effortlessly. Designed for speed and precision, it’s your ultimate tool for analyzing Twitter conversations efficiently.
You can access the Twitter/X Reply Comment Scraper:Support Sentiment&Tone Analyzer programmatically from your own JavaScript applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11 "tweetUrl": "https://x.com/realDonaldTrump/status/1844869841087258770",
12 "sentimentAnalysis": false,
13 "cookies": [
14 "auth_token=7a0de5bb4260b62eb16615586465d03bedcd4bf9;gt=1883340780888289298;ph_phc_TXdpocbGVeZVm5VJmAsHTMrCofBQu3e0kN8HGMNGTVW_posthog=%7B%22distinct_id%22%3A%220194698a-e095-7869-940a-3a43aa499620%22%2C%22%24sesid%22%3A%5B1736937496840%2C%220194698a-e095-7869-940a-3a41663058f4%22%2C1736937496725%5D%7D;guest_id=v1%3A173777025242689689;ads_prefs=HBERAAA=;twid=u%3D1479073844589895680;auth_multi=1879895716690337792:285b268fc62eb7f31caa3f2a29a40a4df3295281;night_mode=2;ct0=04125ad8f201f8db6eda7e58946e2dcc4d2542f8186a0e96d3c7b27610408cd2e0f0d6fc4204a1122bd5d45b8a117eb1ae376d3c4b33b9d7a56466bdc6f6966be1ad98e04700b503ca2027f4a5dceea3;guest_id_ads=v1%3A173777025242689689;guest_id_marketing=v1%3A173777025242689689;kdt=O83gjfkTl8AaNp5z3JXyUGdr1k0xFZPBwD9myC97;personalization_id=v1_SkJRGfsm95VskQ4ujBPgEQ=="
15 ],
16 "nextCursor": "",
17 "rankingMode": "Relevance"
18};
19
20// Run the Actor and wait for it to finish
21const run = await client.actor("fastcrawler/twitter-x-reply-comment-scraper-support-sentiment-tone-analyzer").call(input);
22
23// Fetch and print Actor results from the run's dataset (if any)
24console.log('Results from dataset');
25console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
26const { items } = await client.dataset(run.defaultDatasetId).listItems();
27items.forEach((item) => {
28 console.dir(item);
29});
30
31// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs
Twitter/X Reply Comment Scraper:Support Sentiment&Tone Analyzer API in JavaScript
The Apify API client for JavaScriptis the official library that allows you to use Twitter/X Reply Comment Scraper:Support Sentiment&Tone Analyzer API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.
Install the apify-client
npm install apify-client
Other API clients include:
Twitter/X Reply Comment Scraper:Support Sentiment&Tone Analyzer API in Python
Twitter/X Reply Comment Scraper:Support Sentiment&Tone Analyzer API through CLI
Twitter/X Reply Comment Scraper:Support Sentiment&Tone Analyzer OpenAPI definition
Twitter/X Reply Comment Scraper:Support Sentiment&Tone Analyzer API
Actor Metrics
17 monthly users
-
7 stars
95% runs succeeded
2.7 hours response time
Created in Oct 2024
Modified 11 days ago