Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Browsing all 4126 articles
Browse latest View live
↧

New Post: Streaming API

Hi,peelypeel. Why wont you try some simple code such as:TwitterCredentials.SetCredentials("2593627711-oaxE3OHkkn54Vn2XDF7dVnU84Mks24hEMkj2...", "l8rYxbC7ctbdu3sW30MZWW5UyKTHLIw5RTtxsIW36A...",...

View Article


New Post: Thread safety?

Hi, From what I gather in the code (unless I miss something), Tweetinvi.Logic.Exceptions.ExceptionHandler is a singleton - owned by the static Tweetinvi.ExceptionHandler. In the AddWebException, there...

View Article


New Post: GetUserTimelineAsync throws exception

Hi, No you are using the api correctly, I am not sure what you are doing incorrectly. Would you please let me know which error do you receive? ExceptionHandler.GetLastException();Regards, Linvi

View Article

New Post: Authorizing Twitter user

I am not sure I followed what you are trying to do. But you can know which user is associated with a specific set of credentials. TwitterCredentials.SetCredentials(// set of credentials);var loggedUser...

View Article

New Post: Get Home Timeline

Hi, Would you please test that you have some duplicated tweet after receiving them from Tweetinvi. IEnumerable<ITweet> tweets = await TimelineAsync.GetHomeTimeline(parameters); var toVerify =...

View Article


New Post: Thread safety?

Hi, You are totally right. The purpose of the ExceptionHandler is to help developers of simple applications to manage the huge amount of Exceptions that can be thrown by Twitter. You can get rid of it...

View Article

New Post: Since and until parameters seems not to work on the same day

The since and until parameter allow you to specify a date range not a time range. The range must be at least of 1 day. Also please note that Twitter only allow to search for tweets from approximately 1...

View Article

New Post: Streaming API

Hello here, The fact that your program freezes is normal. When you use the Stream api you need to invoke it in a specific thread.var stream = Stream.CreateFilteredStream(); stream.MatchingTweetReceived...

View Article


New Post: Thread safety?

Thank you! That would sound right, but even when I set ExceptionHandler.SwallowWebExceptions = false; it still ends up in that code (in the: public TwitterException AddWebException(WebException...

View Article


New Post: Bug in SearchTweetsRecursively?

Hello, It seems there is a bug in: while (result.Count < tweetSearchParameters.MaximumNumberOfResults) { if (currentResult.IsEmpty()) { // If Twitter does not any result left, stop the search break;...

View Article

Created Unassigned: Popular user against any keyword. [2307]

Is there any way to find popular user on twitter against any keyword using tweetinvi.for example popular users for "java"

View Article

New Post: GetUserTimelineAsync throws exception

Thanks for your response. The first exception that is thrown is an AggregateException, with the inner exception being the WebException above.stack: [External Code]...

View Article

New Post: GetUserTimelineAsync throws exception

I did notice that the calls that fail don't have the key and token in the header:Works: GET : https://api.twitter.com/1.1/users/show.json?screen_name=@AAAAAAA Header OAuth...

View Article


New Post: Streaming API

Insafq wrote: Hi,peelypeel. Why wont you try some simple code such as: var tweet = Tweet.PublishTweet("TWEET SMTH"); Of couse you need proper tokkens and so on... And what have you tried so far? Kind...

View Article

New Post: Thread safety?

Am I mistaken in my observation above (with respect to the singleton ExceptionHandler being used even if I set SwallowWebException to false (and that is wrong as it'll use a List<T> in a non...

View Article


New Post: Since and until parameters seems not to work on the same day

OK! Understood. Thanks a lot. Regards,

View Article

New Post: Thread safety?

Hi there, Well I agree with you, I might have to add a new option in order to authorize the ExceptionHandler to log any exception. Also concerning the Thread safety, I will try to work on that and...

View Article


New Post: Streaming API

Hi,Thank you Linvi, after a bit of play, that worked. It seams if I add a AddFollow after an AddTrack, both arguments are completely ignored, but if i have just an AddFollow, or just an AddTrack, it...

View Article

Created Unassigned: Verify recursive data access and Max Id [2314]

As described in [https://tweetinvi.codeplex.com/discussions/550899](https://tweetinvi.codeplex.com/discussions/550899).

View Article

New Post: Bug in SearchTweetsRecursively?

It seems that you are totally right. It is therefore a bug. I logged the bug here.

View Article
Browsing all 4126 articles
Browse latest View live