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

New Post: SearchWithMetadata

$
0
0
Hi!
Each time I try to use this code (or similar):
                        var searchResults = Search.SearchTweetsWithMetadata("linvi");
                        var tweet = searchResults.Tweets.First();
                        var tweetMetadata = tweet.SearchMetadata;
I get this Exception
None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'Tweetinvi.Logic.TweetWithSearchMetadata' can be invoked with the available services and parameters:
Cannot resolve parameter 'Tweetinvi.Core.Interfaces.DTO.ITweetWithSearchMetadataDTO tweetDTO' of constructor 'Void .ctor(Tweetinvi.Core.Interfaces.DTO.ITweetWithSearchMetadataDTO, Tweetinvi.Core.Interfaces.Controllers.ITweetController, Tweetinvi.Core.Interfaces.Factories.ITweetFactory, Tweetinvi.Core.Interfaces.Factories.IUserFactory, Tweetinvi.Core.Helpers.ITaskFactory, Tweetinvi.Core.Injectinvi.IFactory`1[Tweetinvi.Core.Interfaces.DTO.IMedia])'.
I do something wrong ?
Thanks!

Alex

Viewing all articles
Browse latest Browse all 4126

Trending Articles



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