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

Edited Issue: ExecuteOperationWithCredentials and CreateTweetWithMedia :: 403 ? [2164]

$
0
0
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: linvi **

Tweetinvi 0.9.2.3 now include the fix.
Thank you for sharing the code and reporting the issue.

Linvi


Viewing all articles
Browse latest Browse all 4126

Trending Articles



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