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: linvi **
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: linvi **
Hi,
So I figured out what the issue is. System.Net.Http is not included in Mono 2.1.
From what I read it should be included in Mono 3.0.
I will try to find out what can be done to re-enable the use of Tweetinvi for Mono.
I cannot give you a time frame right now as I am not sure what will be the extend of changes required.
I will keep you up to date.
Regards,
Linvi