Closed bulanbintang69 closed 2 years ago
$ node bot.js /data/data/com.termux/files/home/twitterbot/bot/bot.js:19 const retweetId = data.statuses[0].id_str; ^
TypeError: Cannot read properties of undefined (reading 'id_str')
at /data/data/com.termux/files/home/twitterbot/bot/bot.js:19:42
at /data/data/com.termux/files/home/twitterbot/bot/node_modules/twit/lib/twitter.js:127:13
at onRequestComplete (/data/data/com.termux/files/home/twitterbot/bot/node_modules/twit/lib/twitter.js:352:5)
at Request.
what line did you change to and from ?
bot.js line 8. I just changed the hashtags, for example what was "#MeetMaye" to "#csgo"
how can i retweet with other hashtags? I'm still confused and need guidance..
Have you solved the issue?
Apakah Anda memecahkan masalah?
nope
Have you looked if the sintax is good?
I've tried and it works fine to me.
Thanks @venturaEffect cc @bulanbintang69
how to change hashtags I've tried replacing in bot.js but can't. and an error occurs