My bot replies to tweets but the replied to tweet doesn’t appear on details expand. I’m using the ‘twitter’ ruby gem and this code:
client.search(word, count: 10).each do |t|
quote = quotes.sample
word = trollWords.sample
replystring = "@" + t.user.screen_name + " " + quote
puts "Found possible troll suspect: " + t.user.screen_name + "\nTweeting: " + t.text + "\nReplied with: " + replystring + "\n"
client.update(replystring, in_reply_to_status_id: t)
sleep(300)
end
If people can’t see what the bot is replying to, but kinda ruins a lot of the concept so I was wondering if there’s a way to make the reply appear properly, as a reply tweet would normally appear when using the website itself rather than the API?