How to comment on another user's tweet

Sep 17, 2015 at 1:13 PM
How to comment on another user's tweet by tweetID. Sorry for my bad English
Coordinator
Sep 17, 2015 at 2:09 PM
Hi,

I think what you want to do is to reply to a tweet.
Please have a look into the Tweet documentation here : https://github.com/linvi/tweetinvi/wiki/Tweets#most-common-publication.
var tweet = Tweet.PublishTweetInReplyTo("Tweetinvi loves you back", firstTweet);
Cheers,
Linvi
Sep 17, 2015 at 2:54 PM
var tweetToReplyTo = Tweet.GetTweet(643936243823210496);
                var tweet = Tweet.PublishTweet("We love you back!", new PublishTweetOptionalParameters
                {
                    InReplyToTweet = tweetToReplyTo
                });
i want reply to a tweet with id: 643936243823210496 but this code tweet to my time line. Can you give me a correct code
Coordinator
Sep 17, 2015 at 3:11 PM
Well replies to a tweet go on their timeline as well as yours. This is the Twitter behaviour.
If you want to see you reply on their timeline you can simply go on the target account, find the tweet you replied to, click on it and your reply will be there.

This is just how Twitter works.
Am I missing something?

Linvi
Sep 17, 2015 at 5:39 PM
Tweet only show on my time line. I don't see it appear in parent tweet.
Coordinator
Sep 17, 2015 at 5:43 PM
Do you have your tweet id please?
Sep 17, 2015 at 5:54 PM
My user id: 3076771201
Screen Name: @kt5_uct
Sep 18, 2015 at 6:18 AM
@linvi, are you here??
Coordinator
Sep 18, 2015 at 11:40 AM
Hi,

Yes, but I am not always able to reply promptly. Anyway, I have been able to reproduce your issue.
I am investigating this.

Cheers,
Linvi
Coordinator
Sep 18, 2015 at 11:43 AM
I have opened a work item on Github.

https://github.com/linvi/tweetinvi/issues/25
Coordinator
Sep 18, 2015 at 12:15 PM
Hello,

It seems that the webrequest is sent correctly but Twitter does not seem to manage the reply argument.
You can test directly from the twitter developer website and see that the replies are not working:

Go on:
https://dev.twitter.com/rest/tools/console

Select '/statuses/update.json' in the Tweet section.
And in the parameters add the tweet id you want to reply to in the field in_reply_to_status_id (query tab).

Press send

The tweet is not created as a reply.
I will create a post on the Twitter dev forum and will share the link as soon as it is done.

This bug will be a priority for me but I don't think I can do anything but wait for Twitter engineers responses.

Linvi
Sep 18, 2015 at 1:02 PM
thanks you very much. I await good news from you
Sep 18, 2015 at 1:32 PM
thank you. The cause of this error is:
The ID of an existing status that the update is in reply to. Note: 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.
thanks again
Marked as answer by lufivuahaitac on 9/18/2015 at 5:32 AM
Sep 18, 2015 at 2:15 PM
you know anyway to get Screen name by StatusID
Coordinator
Sep 18, 2015 at 2:38 PM
Twitter has probably changed their policy (once again). I find this pretty annoying because it now mean that each time you want to do a reply you will have to get the tweet before.

I think this is just madness.

Feel free to use the user screename of the tweet if you want to.
var username = Tweet.GetTweet(1).CreatedBy.ScreenName;
Linvi
Coordinator
Sep 18, 2015 at 10:18 PM
You can find my post on the forum here:

https://twittercommunity.com/t/tweetinvi-reply-to-tweet-does-not-work-anymore-since-a-few-days/52470

If you can like or +1 it will help for having replies from the Twitter developers because they are very slow to reply.

Cheers,
Linvi
Sep 19, 2015 at 9:14 AM
Yes I did.
Have a nice day.