I've been testing the tweetinvi API with a test account on twitter.
Initially, everything worked great. However, when I followed another user (between executions of my app) and attempted to start the stream, the stream immediately stopped with an InvalidCastException.
Stack trace:
System.InvalidCastException: Specified cast is not valid.
at Streaminvi.UserStream.UserFriends(Object friends) in c:\Users\timart\Documents\My Box Files\Development\Tweetinvi\Streaminvi\UserStream.cs:line 340
at Streaminvi.UserStream.<>c__DisplayClassc.<StartStream>b__b(String x) in c:\Users\timart\Documents\My Box Files\Development\Tweetinvi\Streaminvi\UserStream.cs:line 149
at Streaminvi.Helpers.StreamResultGenerator.StartStream(Func`2 processObject, Func`1 generateWebRequest) in c:\Users\timart\Documents\My Box Files\Development\Tweetinvi\Streaminvi\Helpers\StreamResultGenerator.cs:line 134
When I unfollow the user, the stream works just fine.
Comments: Associated with changeset 33244: Version 0.8.3.22
- Corrected bug with UserIds being long instead of Ids which made the UserStream crashed
Initially, everything worked great. However, when I followed another user (between executions of my app) and attempted to start the stream, the stream immediately stopped with an InvalidCastException.
Stack trace:
System.InvalidCastException: Specified cast is not valid.
at Streaminvi.UserStream.UserFriends(Object friends) in c:\Users\timart\Documents\My Box Files\Development\Tweetinvi\Streaminvi\UserStream.cs:line 340
at Streaminvi.UserStream.<>c__DisplayClassc.<StartStream>b__b(String x) in c:\Users\timart\Documents\My Box Files\Development\Tweetinvi\Streaminvi\UserStream.cs:line 149
at Streaminvi.Helpers.StreamResultGenerator.StartStream(Func`2 processObject, Func`1 generateWebRequest) in c:\Users\timart\Documents\My Box Files\Development\Tweetinvi\Streaminvi\Helpers\StreamResultGenerator.cs:line 134
When I unfollow the user, the stream works just fine.
Comments: Associated with changeset 33244: Version 0.8.3.22
- Corrected bug with UserIds being long instead of Ids which made the UserStream crashed