Can't tweet ...

Aug 9, 2014 at 2:39 PM
Hi,
I discovered this great library but I can't use it to tweet.
My simple test is the following :
TwitterCredentials.SetCredentials(
                "accessToken",
                "accessTokenSecret",
                "APIkey",
                " APISecret");

            var tweet = Tweet.PublishTweet("Hello");
The token has all permissions but the tweet variable is always null !

Any ideas ?

Paolo.
Aug 9, 2014 at 3:11 PM
It was possibile that I had a problem with permission .... now I have changed permission and regenerated api and token key and secret.

Now the SetCredentials method throws an exception :

The type initializer for 'Tweetinvi.TwitterCredentials' threw an exception.

Why ?

Paolo.
Aug 9, 2014 at 3:17 PM
Edited Aug 9, 2014 at 3:22 PM
I discovered that downloading binaries and using them as assembly references, all works fine !

What's the problem with Nuget package ?

It seems to be related to Newtonsoft.Json assembly that it can't find.

Paolo.
Coordinator
Aug 9, 2014 at 5:21 PM
Can I set the discussion as answered then?

Linvi
Aug 9, 2014 at 5:32 PM
The problem isn't solved !
I want to use Nuget package because I have last Newtonsoft Assembly in my application and I don't want to deploy another version of it.
I think that the problem with Nuget must be fixed.

Paolo