I'm trying to upload image from my WP8 app to Twitter and it worked well but from yesterday I can't post images with success. I'm using this code:
```
var file = ToByteArray(image); // Method to extract byte[] from a file on WP
var t = Tweet.CreateTweetWithMedia(text, file);
var success = await t.PublishAsync();
```
What can I do? This app is really important and users are complaning about this issue.
Thank you,
Alessandro
Comments: ** Comment from web user: ilgianfri **
Hi,
I've tried with this code but images aren't posted and I don't get any exceptions. Same with version 0.9.2.3
```
ExceptionHandler.SwallowWebExceptions = false;
if (scelti.Contains("Twitter") && twitterenabled) //twitter
{
TwitterCredentials.SetCredentials(Token,
TokenSecret,
Constants.TwitterConsumerKey, Constants.TwitterConsumerSecret);
var t = Tweet.CreateTweetWithMedia(StatusBox.Text, file);
var success = await t.PublishAsync();
if (!success)
{
Dispatcher.BeginInvoke(() =>
{
ToastPrompt toast = new ToastPrompt();
toast.Message = "Can't share on Twitter right now";
toast.TextOrientation = System.Windows.Controls.Orientation.Horizontal;
toast.ImageSource = new BitmapImage(new Uri("ApplicationIcon.png", UriKind.RelativeOrAbsolute));
toast.Show();
});
}
```
Alessandro