kuzdogan
kuzdogan

Reputation: 815

Twitter API, reply tweets become unavailable

I am trying to post a thread on Twitter through my bot with nodejs. I can successfully post the tweets subsequently by replying to them and create a thread. I use npm twitter package.

I am checking from an external account if tweets are all ok. In the first few seconds it's all good. But when I refresh in less then a minute all tweets above and below a tweet become 'unavailable'. If I log in to the bot account I see tweets are available and connected to each other.

This is how it looks in the website

Overview

At first tweets are fine. But if I click it a minute later all tweets look like this

enter image description here

From the bot account, it's all fine

enter image description here

My reply function is as follows:

function reply(status, prevIdStr, username) {
  return Twitter.post('statuses/update', { status: status, in_reply_to_status_id: prevIdStr, auto_populate_reply_metadata: true });
}

I also check if anything changes by comparing Tweet objects before and after. I really can't find a reason why this should be the case. Has anyone an idea why? Thanks.

Upvotes: 0

Views: 237

Answers (1)

kuzdogan
kuzdogan

Reputation: 815

I have no idea why, I ended up opening a new account. It started working

Edit: The reason it worked is that the previous account got marked as spam, because I was testing and excessively tweeting.

Creating a fresh account obviously solves the issue, or contact support to lift you suspension.

Edit 2: With a new account and without posting test tweets I encountered the same issue.... Still investigating.

Upvotes: 1

Related Questions