Hi
I want to upload video on my Twitter Account
The name Upload does not exist in the current context.
The type or namespace Tweet does not exist in namespace Tweetinvi
Below is the code
var media = Upload.UploadVideo("https://www.youtube.com/shorts/-FE_ule-18w.mp4");
if (media != null)
{
// Post tweet with video
var tweet = Tweetinvi.Tweet.PublishTweet("Check out this video!", new PublishTweetOptionalParameters
{
Medias = { media }
});
}
Thanks