Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

Commented Feature: Reply with multiple pictures [2293]

$
0
0
I could not able to reply with multiple pictures.

I added 3 pictures and did reply, only one image is replied.

My code is as follows

byte[] file1 = File.ReadAllBytes(string.Format(@"{0}\{1}",path,Pictures[0]));

var tweet = Tweet.CreateTweetWithMedia(TweetText, file1);
for (int i = 1; i < Pictures.Count; i++)
{
byte[] file =File.ReadAllBytes(string.Format(@"{0}\{1}",path,Pictures[i]));
tweet.AddMedia(file);
}
bool Status = tweet.PublishInReplyTo(ToTweetID);
Comments: ** Comment from web user: digitalgym **

I have just discovered that the update_with_media operation is depreciated, does the library support the upload.twitter endpoint?


Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>