Hi , I want to retweet using tweetinvi but I got return null. I am sharing my code here please help asap.
ITweet data1 = null;
TwitterCredentials.ExecuteOperationWithCredentials(credentials, () =>
{
data1 = Tweet.GetTweet(TweetID);
});
TwitterCredentials.ExecuteOperationWithCredentials(credentials, () =>
{
data1 = data1.PublishRetweet();
});
and also I have used data1.PublishRetweet(); and data1.PublishRetweetAsync(); but among number of attempts I got retweeted once but never happened it again even i tried with number of new tweets.
Please help me to get out from this.
Thanks
Chandra
Comments: ** Comment from web user: chandrabhushan53 **
ITweet data1 = null;
TwitterCredentials.ExecuteOperationWithCredentials(credentials, () =>
{
data1 = Tweet.GetTweet(TweetID);
});
TwitterCredentials.ExecuteOperationWithCredentials(credentials, () =>
{
data1 = data1.PublishRetweet();
});
and also I have used data1.PublishRetweet(); and data1.PublishRetweetAsync(); but among number of attempts I got retweeted once but never happened it again even i tried with number of new tweets.
Please help me to get out from this.
Thanks
Chandra
Comments: ** Comment from web user: chandrabhushan53 **
Hi Linvi
I appreciate your effort and time given for me.
I got your point and i tried with fresh tweet and unable to publish retweet.
I will put all condition what you have suggested but before, it should work.
I am attaching my screen shot here so you can understand exact what I am trying to say.
The 1st screen is for GetTweet(TweetID) method and 2nd screen is for PublishRetweet().
so , as you can see here in 1st screen that isretweet property is false.
hope you can suggest better idea so that I can get out this issue.
Thanks
Chandra