spring-attic / spring-net-social-twitter Goto Github PK
View Code? Open in Web Editor NEWTwitter API binding and connect support
Home Page: www.springframework.net/social-twitter/
License: Apache License 2.0
Twitter API binding and connect support
Home Page: www.springframework.net/social-twitter/
License: Apache License 2.0
When issuing a POST statuses/update_with_media the status field is issued with an ISO-8859-1 charset instead of UTF-8, this forces special chars to be published with error
This one is now showing up as well. I have to guess that Twitter changed their API because these never used to occur. It is possible there are many areas like this now and more handling of this case needs to be done elsewhere.
System.AggregateException: One or more errors occurred. ---> Spring.Json.JsonException: The JSON object structure does not have an entry named 'show_all_inline_media'.
at Spring.Json.JsonValue.GetValue[T](String name) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonValue.cs:line 401
at Spring.Social.Twitter.Api.Impl.Json.TwitterProfileDeserializer.Deserialize(JsonValue value, JsonMapper mapper) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\Json\TwitterProfileDeserializer.cs:line 39
at Spring.Json.JsonMapper.Deserialize[T](JsonValue value) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonMapper.cs:line 110
at Spring.Http.Converters.Json.SpringJsonHttpMessageConverter.ReadInternal[T](IHttpInputMessage message) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Http\Converters\Json\SpringJsonHttpMessageConverter.cs:line 144
at Spring.Rest.Client.Support.MessageConverterResponseExtractor1.ExtractData(IClientHttpResponse response) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\Support\MessageConverterResponseExtractor.cs:line 97 at Spring.Rest.Client.RestTemplate.ResponseReceivedCallback[T](ClientHttpRequestCompletedEventArgs responseReceived) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\RestTemplate.cs:line 2786 --- End of inner exception stack trace --- at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification)
at coderbits.Externals.Social.TwitterOperations.GetAccount(OAuthToken token) in c:\Dropbox\Projects\coderbits\coderbits.Externals\ApiAccessLayer\Social\TwitterOperations.cs:line 36
at coderbits.Helpers.Social.TwitterHelpers.FillDatabase(Int32 coderbitsAccountId, DataOperations dataOperations) in c:\Dropbox\Projects\coderbits\coderbits.DataAccess\Helpers\Social\TwitterHelpers.cs:line 161
---> (Inner Exception #0) Spring.Json.JsonException: The JSON object structure does not have an entry named 'show_all_inline_media'.
at Spring.Json.JsonValue.GetValue[T](String name) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonValue.cs:line 401
at Spring.Social.Twitter.Api.Impl.Json.TwitterProfileDeserializer.Deserialize(JsonValue value, JsonMapper mapper) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\Json\TwitterProfileDeserializer.cs:line 39
at Spring.Json.JsonMapper.Deserialize[T](JsonValue value) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonMapper.cs:line 110
at Spring.Http.Converters.Json.SpringJsonHttpMessageConverter.ReadInternal[T](IHttpInputMessage message) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Http\Converters\Json\SpringJsonHttpMessageConverter.cs:line 144
at Spring.Rest.Client.Support.MessageConverterResponseExtractor`1.ExtractData(IClientHttpResponse response) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\Support\MessageConverterResponseExtractor.cs:line 97
at Spring.Rest.Client.RestTemplate.ResponseReceivedCallback[T](ClientHttpRequestCompletedEventArgs responseReceived) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\RestTemplate.cs:line 2786<---
It seems that this project doesnt aims UAP. Is there a roadmap for this feature?
This recently started to occur to one of the user's of my site. It has not occurred to the other 10 people that have authorized access via Twitter.
I am using the latest NuGet package for this.
System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> Spring.Json.JsonException: The JSON object structure does not have an entry named 'is_translator'.
at Spring.Json.JsonValue.GetValue[T](String name) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonValue.cs:line 401
at Spring.Social.Twitter.Api.Impl.Json.TwitterProfileDeserializer.Deserialize(JsonValue value, JsonMapper mapper) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\Json\TwitterProfileDeserializer.cs:line 39
at Spring.Json.JsonMapper.Deserialize[T](JsonValue value) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonMapper.cs:line 110
at Spring.Social.Twitter.Api.Impl.Json.TwitterProfileListDeserializer.Deserialize(JsonValue value, JsonMapper mapper) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\Json\TwitterProfileListDeserializer.cs:line 39
at Spring.Json.JsonMapper.Deserialize[T](JsonValue value) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonMapper.cs:line 110
at Spring.Http.Converters.Json.SpringJsonHttpMessageConverter.ReadInternal[T](IHttpInputMessage message) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Http\Converters\Json\SpringJsonHttpMessageConverter.cs:line 144
at Spring.Rest.Client.Support.MessageConverterResponseExtractor1.ExtractData(IClientHttpResponse response) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\Support\MessageConverterResponseExtractor.cs:line 97 at Spring.Rest.Client.RestTemplate.ResponseReceivedCallback[T](ClientHttpRequestCompletedEventArgs responseReceived) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\RestTemplate.cs:line 2786 --- End of inner exception stack trace --- at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification)
at Spring.Social.Twitter.Api.Impl.FriendTemplate.<>c__DisplayClassa.b__8(Task1 task) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\FriendTemplate.cs:line 776 at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout) at System.Threading.Tasks.Task.WaitAll(Task[] tasks) at Spring.Social.Twitter.Api.Impl.FriendTemplate.GetCursoredProfileListAsync(List
1 userIds, Int64 previousCursor, Int64 nextCursor) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\FriendTemplate.cs:line 779
at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification)
at WebServiceApi.Social.TwitterOperations.GetFriends(OAuthToken token) in c:\Dropbox\Projects\coderbits\WebServiceApi\ApiAccessLayer\Social\TwitterOperations.cs:line 43
at coderbits.Helpers.Social.TwitterHelpers.FillDatabase(Int32 coderbitsAccountId, DataOperations dataOperations) in c:\Dropbox\Projects\coderbits\coderbits\Helpers\Social\TwitterHelpers.cs:line 169
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> Spring.Json.JsonException: The JSON object structure does not have an entry named 'is_translator'.
at Spring.Json.JsonValue.GetValue[T](String name) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonValue.cs:line 401
at Spring.Social.Twitter.Api.Impl.Json.TwitterProfileDeserializer.Deserialize(JsonValue value, JsonMapper mapper) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\Json\TwitterProfileDeserializer.cs:line 39
at Spring.Json.JsonMapper.Deserialize[T](JsonValue value) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonMapper.cs:line 110
at Spring.Social.Twitter.Api.Impl.Json.TwitterProfileListDeserializer.Deserialize(JsonValue value, JsonMapper mapper) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\Json\TwitterProfileListDeserializer.cs:line 39
at Spring.Json.JsonMapper.Deserialize[T](JsonValue value) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonMapper.cs:line 110
at Spring.Http.Converters.Json.SpringJsonHttpMessageConverter.ReadInternal[T](IHttpInputMessage message) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Http\Converters\Json\SpringJsonHttpMessageConverter.cs:line 144
at Spring.Rest.Client.Support.MessageConverterResponseExtractor1.ExtractData(IClientHttpResponse response) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\Support\MessageConverterResponseExtractor.cs:line 97 at Spring.Rest.Client.RestTemplate.ResponseReceivedCallback[T](ClientHttpRequestCompletedEventArgs responseReceived) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\RestTemplate.cs:line 2786 --- End of inner exception stack trace --- at System.Threading.Tasks.Task
1.GetResultCore(Boolean waitCompletionNotification)
at Spring.Social.Twitter.Api.Impl.FriendTemplate.<>c__DisplayClassa.b__8(Task1 task) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\FriendTemplate.cs:line 776 at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout) at System.Threading.Tasks.Task.WaitAll(Task[] tasks) at Spring.Social.Twitter.Api.Impl.FriendTemplate.GetCursoredProfileListAsync(List
1 userIds, Int64 previousCursor, Int64 nextCursor) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\FriendTemplate.cs:line 779
at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke() at System.Threading.Tasks.Task.Execute() ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> Spring.Json.JsonException: The JSON object structure does not have an entry named 'is_translator'. at Spring.Json.JsonValue.GetValue[T](String name) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonValue.cs:line 401 at Spring.Social.Twitter.Api.Impl.Json.TwitterProfileDeserializer.Deserialize(JsonValue value, JsonMapper mapper) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\Json\TwitterProfileDeserializer.cs:line 39 at Spring.Json.JsonMapper.Deserialize[T](JsonValue value) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonMapper.cs:line 110 at Spring.Social.Twitter.Api.Impl.Json.TwitterProfileListDeserializer.Deserialize(JsonValue value, JsonMapper mapper) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\Json\TwitterProfileListDeserializer.cs:line 39 at Spring.Json.JsonMapper.Deserialize[T](JsonValue value) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonMapper.cs:line 110 at Spring.Http.Converters.Json.SpringJsonHttpMessageConverter.ReadInternal[T](IHttpInputMessage message) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Http\Converters\Json\SpringJsonHttpMessageConverter.cs:line 144 at Spring.Rest.Client.Support.MessageConverterResponseExtractor
1.ExtractData(IClientHttpResponse response) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\Support\MessageConverterResponseExtractor.cs:line 97
at Spring.Rest.Client.RestTemplate.ResponseReceivedCallback[T](ClientHttpRequestCompletedEventArgs responseReceived) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\RestTemplate.cs:line 2786
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at Spring.Social.Twitter.Api.Impl.FriendTemplate.<>c__DisplayClassa.<GetCursoredProfileListAsync>b__8(Task
1 task) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\FriendTemplate.cs:line 776
at System.Threading.Tasks.Task.Execute()
---> (Inner Exception #0) Spring.Json.JsonException: The JSON object structure does not have an entry named 'is_translator'.
at Spring.Json.JsonValue.GetValue[T](String name) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonValue.cs:line 401
at Spring.Social.Twitter.Api.Impl.Json.TwitterProfileDeserializer.Deserialize(JsonValue value, JsonMapper mapper) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\Json\TwitterProfileDeserializer.cs:line 39
at Spring.Json.JsonMapper.Deserialize[T](JsonValue value) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonMapper.cs:line 110
at Spring.Social.Twitter.Api.Impl.Json.TwitterProfileListDeserializer.Deserialize(JsonValue value, JsonMapper mapper) in f:\bamboo-home\xml-data\build-dir\SPRNETSOCIALTW-RELEASE-JOB1\src\Spring.Social.Twitter\Social\Twitter\Api\Impl\Json\TwitterProfileListDeserializer.cs:line 39
at Spring.Json.JsonMapper.Deserialize[T](JsonValue value) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Json\JsonMapper.cs:line 110
at Spring.Http.Converters.Json.SpringJsonHttpMessageConverter.ReadInternal[T](IHttpInputMessage message) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Http\Converters\Json\SpringJsonHttpMessageConverter.cs:line 144
at Spring.Rest.Client.Support.MessageConverterResponseExtractor`1.ExtractData(IClientHttpResponse response) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\Support\MessageConverterResponseExtractor.cs:line 97
at Spring.Rest.Client.RestTemplate.ResponseReceivedCallback[T](ClientHttpRequestCompletedEventArgs responseReceived) in f:\bamboo-home\xml-data\build-dir\SPRNETREST-RELEASE-JOB1\src\Spring.Rest\Rest\Client\RestTemplate.cs:line 2786<---
<---
<---
Newbie using Twitter and C#.
Questions:
What's APIs can I use ? Nuget ? TweetSharp vs LinqToTwitter ?
How can I get your all tweets list programatically using C# ?
And download photos and videos from anyone timeline too C# ?
How get the list of followers and following using C# ?
How send DM anyone user using C# ?
How can I follow to user using C#
How manage lists using C#?
Full source code samples and real applications in C# using good patterns and practices, for minimize the learning curve.
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.