I am able to PublishTweets without issue with the given access token and secret and consumer key combination under ExecuteOperationWithCredentials. But when I try and create a tweet with Media and Publish it.. this area in the execution on EndGetResponse returns with exception 403 Forbidden. Any suggestions on what is wrong. Like I said... I can PublishTweets fine with same credentials.
try
{
var response = request.EndGetResponse(a);
using (StreamReader streamReader = new StreamReader(response.GetResponseStream()))
{
result = streamReader.ReadToEnd();
manualResetEvent.Set();
}
}
catch (Exception ex)
{
Debug.WriteLine(ex);
}
Comments: ** Comment from web user: lepert **
try
{
var response = request.EndGetResponse(a);
using (StreamReader streamReader = new StreamReader(response.GetResponseStream()))
{
result = streamReader.ReadToEnd();
manualResetEvent.Set();
}
}
catch (Exception ex)
{
Debug.WriteLine(ex);
}
Comments: ** Comment from web user: lepert **
Thank you... we will get latest. I am not very familiar with the "portable" type assemblies like you have put together... but is there a way to get exceptions etc logged out to a file so we can monitor for errors. We are developing a windows service and looking to include your assembly for tweet status updates into that service.