Yortw / tweetmoasharp

TweetSharp is a fast, clean wrapper around the Twitter API.
Other
72 stars 22 forks source link

No search option for "tweet_mode : extended" #78

Closed nszeitli closed 5 years ago

nszeitli commented 5 years ago

SearchOptions searchOptions = new SearchOptions {Q = "$btc", Count = 50, Lang = "en" }; TwitterSearchResult result = _service.Search(searchOptions);

Search results will only have 140 chars max in text. SearchOptions needs the new tweet_mode parameter for the API, unless I am missing something?

Yortw commented 5 years ago

Hi,

It's been a while since I worked on this and I'm not in a position to test/check right now, but I think this was implemented on TwitterService as a 'global' setting (per service instance), rather than having to pass it on every call. Should be a property called something like TweetMode on the TwitterService instance you can set. Can you try that and see if it works for you?

Thanks.

nszeitli commented 5 years ago

Yep that works, thanks for the help.