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

Commented Unassigned: FilteredStream "get_SwallowWebExceptions" error [2124]

$
0
0
Hi,

I am getting an error while using filtered stream in Tweetinvi.API.dll, version of 0.9.0.7

The error is below:

"STREAM ERROR OCCURED: System.TypeLoadException: Could not load type '<GetClosedParameterTypesSequence>d__10' from assembly 'Tweetinvi.API, Version=0.9.0.0, Culture=neutral, PublicKeyToken=null' because the method 'get_SwallowWebExceptions' has no implementation (no RVA).
at Streaminvi.Helpers.StreamResultGenerator.StartStream(Func2 processObject, Func1 generateWebRequest)
at Streaminvi.Helpers.StreamResultGenerator.StartStream(Action1 processObject, Func1 generateWebRequest)
at Streaminvi.FilteredStream.StartStreamMatchingAllConditions()"


And my code is like:

var stream = Tweetinvi.Stream.CreateFilteredStream();
foreach (string word in wordList)
{
stream.AddTrack(word);
}

stream.MatchingTweetReceived += (sender, args) =>
{
var tweet = args.Tweet;
var matchingTrack = args.MatchingTracks;

Log.DebugFormat("reading new version of the stream with {0}", matchingTrack.ElementAt(0));
};

stream.StartStreamMatchingAllConditions();

Am i missing something?
Comments: ** Comment from web user: linvi **

Hi,

Thank you for the reply. It is possible. You can get more details related with the error by accessing the information from ExceptionHandler.

``` C#
ExceptionHandler.GetLastException().xxx
```

There are many information that could help you understand what is going wrong. Please send them to me and I will help you identify the problem.
In the meantime, I will have a look for the TweetinviAPI dll.

Regards,
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>