Reputation: 73
I'm making an application which automatically replies to certain tweets with an image. The image is tailored made for each tweet and the tweet is sent as a reply to the original tweet.
I'm using TwitterAPI python module. I'm tweeting with 'statuses/update' end-point with 'in_reply_to_status_id' and 'media_ids'
The replies are showing in my timeline (since I'm tweeting) but not in the timeline of the recipient. Moreover, the notifications also disappear from recipient's account.
Further, the tweets are appearing in public search.
If anyone has clarity over this issue, please help. We need to urgently resolve the issue.
Upvotes: 2
Views: 210
Reputation: 4318
You need to include the @username of the recipient within the status
parameter (i.e. the body of the tweet reply), otherwise according to the Twitter API docs the in_reply_to_status_id
parameter will be ignored:
This parameter will be ignored unless the author of the tweet this parameter references is mentioned within the status text. Therefore, you must include @username, where username is the author of the referenced tweet, within the update.
Upvotes: 1