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?
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?