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

Commented Unassigned: Null reference exception with basic program [2152]

$
0
0
Just installed via Nuget:

Install-Package TweetinviAPI

var credentials = TwitterCredentials.CreateCredentials("xxx", "yyy", "zzz", "uuu");
TwitterCredentials.ExecuteOperationWithCredentials(credentials, () =>
{
ITweet t = Tweet.PublishTweet("myTweet");
Console.WriteLine(t);
});

t comes back null, nothing was tweeted?? I double checked the credentials

Tried it from source code, got an exception in GetPublishTweetQuery because tweetDTO.MediasToPublish
is null and the code doesnt test for it?

if (tweetDTO.MediasToPublish.Any())
Comments: ** Comment from web user: linvi **

Hi there,

Thank you for the feedback.
This is a critical bug. I will push Tweetinvi 0.9.2.1 tonight and this bug will be fixed.

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>