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 am also experiencing this issue but the twitter API documentation does not mention that multiple file upload is blocked or prohibited.
https://dev.twitter.com/rest/public/uploading-media-multiple-photos


Viewing all articles
Browse latest Browse all 4126

Trending Articles



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