GithubHelp home page GithubHelp logo

spring-attic / spring-net-social-twitter Goto Github PK

View Code? Open in Web Editor NEW
22.0 40.0 20.0 19.09 MB

Twitter API binding and connect support

Home Page: www.springframework.net/social-twitter/

License: Apache License 2.0

C# 77.64% Batchfile 0.16% XSLT 3.92% HTML 11.18% Rich Text Format 7.10%

spring-net-social-twitter's Introduction

spring-net-social-twitter is no longer actively maintained by VMware, Inc.

spring-net-social-twitter's People

Contributors

bbaia avatar scottksmith95 avatar trevormarshall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spring-net-social-twitter's Issues

Add support for missing 'show_all_inline_media' field in Twitter user object

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.Task1.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<---

Support for UWP

It seems that this project doesnt aims UAP. Is there a roadmap for this feature?

Add support for missing 'is_translator' field in Twitter user object

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.Task1.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(List1 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.Task1.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.Task1.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(List1 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.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.Task1.GetResultCore(Boolean waitCompletionNotification) at Spring.Social.Twitter.Api.Impl.FriendTemplate.<>c__DisplayClassa.<GetCursoredProfileListAsync>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()
---> (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<---
<---
<---

Twitter and C#.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.