Finding the tweetID of a tweet in tweetinvi

前端 未结 2 1944
野性不改
野性不改 2021-01-28 07:28

I am relatively new to programming in C# (Learning on my own for a school project) and decided to try using TweetInvi to implement Twitter functionality. So far it\'s going goo

2条回答
  •  别那么骄傲
    2021-01-28 08:15

    Simple solution. As explained before you need to take the tweet back from PublishTweet.

    string text = "text";
    ITweet tweet = Tweet.PublishTweet(text);
    bool destroySuccess = tweet.Destroy();
    

提交回复
热议问题