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

Commented Issue: Assembly load errors from HttpClientWebHelper on Mono [2519]

$
0
0
Hi there,

When I run Tweetinvi on Mono (3.12) I get the following printout to the console:

Could not load signature of Tweetinvi.WebLogic.HttpClientWebHelper:GenerateHttpClientFromWebRequest due to: Could not load file or assembly or one of its dependencies.
Could not load signature of Tweetinvi.WebLogic.IHttpClientWebHelper:GenerateHttpClientFromWebRequest due to: Could not load file or assembly or one of its dependencies.

This does not happen with 0.9.3 but does happen on 0.9.5.

My code is something like this:
TwitterCredentials.ApplicationCredentials = TwitterCredentials.CreateCredentials(accessToken, accessTokenSecret, apiKey, apiSecret);
TwitterCredentials.SetCredentials(TI.TwitterCredentials.ApplicationCredentials);
twitstream = Tweetinvi.Stream.CreateFilteredStream();
twitstream.AddTrack("sometags");
twitstream.StartStreamMatchingAnyCondition();

Any suggestions?
Comments: ** Comment from web user: kenmacpherson **

I tried the latest Installing 'TweetinviAPI 0.9.3.4'.
Has somebody written a guide to getting this running on Mono?

```
# mono --version
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4+rpi1)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
```

```
Unhandled Exception:
System.NotImplementedException: The requested feature is not implemented.
at System.Net.WebRequest.CreateHttp (System.String requestUriString) [0x00000] in <filename unknown>:0
at Tweetinvi.WebLogic.OAuthWebRequestGenerator.GenerateWebRequest (System.String url, HttpMethod httpMethod, IEnumerable`1 parameters) [0x00000] in <filename unknown>:0
at Tweetinvi.WebLogic.TwitterRequestGenerator.GetQueryWebRequest (System.String url, HttpMethod httpMethod, IEnumerable`1 headers) [0x00000] in <filename unknown>:0
at Tweetinvi.WebLogic.TwitterRequestGenerator.ExecuteMediaQueryWebRequest (System.String url, HttpMethod httpMethod, IEnumerable`1 medias) [0x00000] in <filename unknown>:0
at Tweetinvi.WebLogic.TwitterRequester.ExecuteMultipartQuery (System.String url, HttpMethod httpMethod, IEnumerable`1 medias) [0x00000] in <filename unknown>:0
at Tweetinvi.Credentials.TwitterAccessor.ExecuteMultipartQuery (System.String query, HttpMethod method, IEnumerable`1 medias) [0x00000] in <filename unknown>:0
at Tweetinvi.Credentials.TwitterAccessor.ExecutePOSTMultipartQuery[ITweetDTO] (System.String query, IEnumerable`1 medias, Newtonsoft.Json.JsonConverter[] converters) [0x00000] in <filename unknown>:0
```


Viewing all articles
Browse latest Browse all 4126

Trending Articles



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