Tweet Scraper|$0.25/1K Tweets | Pay-Per Result | No Rate Limits avatar
Tweet Scraper|$0.25/1K Tweets | Pay-Per Result | No Rate Limits

Pricing

$0.25 / 1,000 tweets

Go to Apify Store
Tweet Scraper|$0.25/1K Tweets | Pay-Per Result | No Rate Limits

Tweet Scraper|$0.25/1K Tweets | Pay-Per Result | No Rate Limits

Developed by

twlo low

twlo low

Maintained by Community

Only $0.25/1000 tweets for Twitter scraping, 100% reliability, swift data retrieval.This incredible low price is almost too good to be true.Thanks to our large-scale operations and efficient servers, we can offer you rock-bottom prices that no competitors can match. Don't miss this opportunity !

2.7 (26)

Pricing

$0.25 / 1,000 tweets

203

4K

1K

Issues response

4.3 hours

Last modified

8 hours ago

FI

Sometimes getting a type error

Closed
firoze opened this issue
4 months ago

I am using the actor in node js using apify client package. But sometimes I get this type error

TypeError: {(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)(intermediate value)} is not a function

Code:

const client = new ApifyClient({
token: token,
});
if(location==null){
location='';
}
const input = {
"filter:blue_verified": false,
"filter:consumer_video": false,
"filter:has_engagement": false,
"filter:hashtags": false,
"filter:images": false,
"filter:links": false,
"filter:media": false,
"filter:mentions": false,
"filter:native_video": false,
"filter:nativeretweets": false,
"filter:news": false,
"filter:pro_video": false,
"filter:quote": false,
"filter:replies": false,
"filter:safe": false,
"filter:spaces": false,
"filter:twimg": false,
"filter:verified": false,
"filter:videos": false,
"filter:vine": false,
"include:nativeretweets": false,
"maxItems": limit,
"queryType": "Latest",
"searchTerms": keywords,
"since": startDate,
"until": endDate,
"min_retweets": 0,
"min_faves": 0,
"min_replies": 0,
"-min_retweets": 0,
"-min_faves": 0,
"-min_replies": 0,
"near": location,
}
//console.log(input);
(async () => {
try {
// Run the Actor and wait for it to finish
const run = await client.actor("ACTOR_ID").call(input);
// Fetch and process Actor results
const { items } = await client.dataset(run.defaultDatasetId).listItems();
itemsArray.push(items);
for(let i=0; i<allConn.length; i++){
if(allConn[i].id == sessionId){
allConn[i].ws.send(JSON.stringify({event: "InstantScrapeComplete", status: "Success", data: itemsArray}));
}
}
}
} catch (error) {
const { message } = error;
for(let i=0; i<allConn.length; i++){
if(allConn[i].id == sessionId){
allConn[i].ws.send(JSON.stringify({event: "InstantScrapeComplete", status: "Error", msg: message, data: itemsArray}));
}
}
}
})();
}
KaitoEasyApi avatar

Sorry, we can't find any useful information from what you provided. If you still can't solve the problem, it is recommended that you use our new service, which will be more convenient to use.https://twitterapi.io Best regards.