TweetInvi を使って Twitter に動画を投稿しています。
TwitterCredentials.SetCredentials(token.Token,token.TokenSecret,ConfigurationManager.AppSettings["ConsumerKey"], ConfigurationManager. AppSettings["ConsumerSecret"]);
var filePath = string.Format("{0}content\\participant\\video\\{1}.{2}", Request.PhysicalApplicationPath, p.video, "mp4");
byte[] file1 =System.IO.File.ReadAllBytes(filePath);
var tweet = Tweetinvi.Tweet.CreateTweet(message);
tweet.AddMedia(file1, "video");
var success = tweet.Publish();
ツイートは正常に投稿されています。しかし、ビデオファイルがありません。メディアで tweetinvi twwet のコードを使用しました
前もって感謝します。