[ADMIN] What do you want in Tweetinvi 0.9.6.0?

Coordinator
Feb 23, 2015 at 9:58 AM
This post allow users to post their most wanted feature for the 0.9.6.0 release of Tweetinvi.
I will review all requests so please feel free to make any suggestion.

Thanks to you all.
Linvi
Feb 25, 2015 at 8:45 PM
Please add support within the Tweet.ExterndedEntities.Medias for videos (video_info). See: https://twittercommunity.com/t/twitter-video-support-in-rest-and-streaming-api/31258/10
Feb 25, 2015 at 10:14 PM
Hello Linvi and folks,

[talking about a filtered stream]
I'm trying to handle an "Received an unexpected EOF or 0 bytes from the transport stream." error (System.IO.IOException).

Searching on google i've found this error is thrown when the SecurityProtocol is not explicity set ( occurring on all TSL/SSL streams )

As mentioned at https://social.msdn.microsoft.com/Forums/en-US/37c376a3-f50c-4b57-a1df-83dc43fcddbf/solution-to-underlying-connection-was-closedreceived-an-unexpected-eof-or-0-bytes-from-the?forum=asmxandxml a solution should be just adding the line below, then the service should manage the handshake and continue to work.

System.Net.ServicePointManager.SecurityProtocol = Net.SecurityProtocolType.Ssl3

Honesly I havn't scraped your sourcecode to the bone and then I don't know if and where this can be implemented, but I hope you will find a way ;)

Last but not least, this error should be included into Tweetinvi.Core.Exceptions.ITwitterException, actually cast is impossible, ofc.

Thanks again for your very nice API.
Coordinator
Feb 25, 2015 at 11:27 PM
rgainer wrote:
Please add support within the Tweet.ExterndedEntities.Medias for videos (video_info). See: https://twittercommunity.com/t/twitter-video-support-in-rest-and-streaming-api/31258/10
Hi,

I can definitely add this to the next version.
Please follow this Work Item to be notified when the feature is implemented.

https://tweetinvi.codeplex.com/workitem/2515

Linvi
Coordinator
Feb 25, 2015 at 11:35 PM
kub9001 wrote:
Hello Linvi and folks,
I'm trying to handle an "Received an unexpected EOF or 0 bytes from the transport stream." error (System.IO.IOException).
Hi,

Have you encountered this bug with Tweetinvi or have you been implementing the stream yourself?

Cheers,
Linvi
Feb 26, 2015 at 4:21 AM
Hello,
I don't think it is really a bug since other twitter api (including ruby, python... ), receive randomly the same error, and some other .net applications over TSL/SSL may encounter this problem.

my simple code snippet below

TwitterCredentials.ApplicationCredentials = TwitterCredentials.CreateCredentials(APPAccessToken, APPAccessTokenSecret, APPConsumerKey, APPConsumerKeySecret);
Tweetinvi.Core.Interfaces.Streaminvi.IFilteredStream stream = Tweetinvi.Stream.CreateFilteredStream();
stream.StreamStopped += (StreamSender, args) =>
{
try
{
    var exception = (ITwitterException)args.Exception; //<-- here it fails the cast
}
catch (Exception ex)
{
Thread.Sleep(2000);
stream.StartStreamMatchingAnyConditionAsync();
}

// on button click
stream.AddTrack(KeywordTextBox.Text.Trim());

stream.StartStreamMatchingAnyConditionAsync();

the stacktrace whithout the cast is:

System.IO.IOException: Received an unexpected EOF or 0 bytes from the transport stream.
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Microsoft.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Tweetinvi.Streams.Helpers.StreamResultGenerator.<StartStreamAsync>d__7.MoveNext()
Mar 9, 2015 at 5:08 AM
First of all, this is a great piece of software!

It would be great if the call for report spam is added.

https://dev.twitter.com/rest/reference/post/users/report_spam

Thanks!!
Coordinator
Mar 9, 2015 at 11:58 AM
Hi,

Thanks for your input. This will be added in the next build.
In the meantime, please subscribe to the Work Item http://tweetinvi.codeplex.com/workitem/2519.

This will allow you to be notified when the feature has been implemented.

Regards,
Linvi
Coordinator
Mar 10, 2015 at 1:40 AM
@ejcortes this feature has now been implemented. You can use it by downloading the Source Code of the application.

Cheers,
Linvi
Mar 10, 2015 at 4:44 AM
Hi Linvi!

Thanks!

When are you going to merge this project with the NuGet version? Just asking... I'm in love with this library.

Ed


Coordinator
Mar 10, 2015 at 11:03 AM
Hi,

Unfortunately there are many features that need to be implemented for the next release.
I do not think this will be available before a month/ a month and a half.

Linvi
Coordinator
Mar 10, 2015 at 6:15 PM
@rgainer, video information are now available in Tweet.Entities.Medias.

Regards,
Linvi
Mar 12, 2015 at 6:39 PM
Hi

Thanks for this library it looks excellent! I'm planning on using it in a Xamarin Android project and was wondering if there could be a way of plugging in Paul Bett's ModernHttpClient? I've only had a very quick look through the code, so apologies if this is already possible.

Thanks
Coordinator
Mar 13, 2015 at 1:48 AM
Hi,

Tweetinvi should already be compatible with Xamarin and Mono. A user raised an issue with Tweetinvi and Mono that I will try to work on in the coming days.
In the meantime, please feel free to try and use Tweetinvi in your project. It should be straightforward.

Regards,
Linvi