API Error Code 187 ("Status is a duplicate") should return the existing status id


#1

When the API method “statuses/update” returns the error code 187 (“Status is a duplicate”) the error only contains a code and a message. It should also contain the ID of the existing tweet.

My workaround is to request the last X tweets via “statuses/user_timeline” and compare their text. But this is fragile if the text contains shortened URLs.


#2

Hi, this error code occurs when a duplicate tweet is being posted. Are we not allowed to tweet same message within a short duration?


#3

Looks like it. I just ran a simple bot and changing the text message works.