Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Authentication - twitter4j handled the oauth handshaking and tokens with no involvement by streams.  we will need to replicate that.  basic auth alone won't cut it.
  • DateTimes - twitter4j gives streams strings, which streams converts to pojos with jackson.  might get better performance embedding the Joda handling into a parser.
  • Interfaces - twitter4j gave us sensible java methods to call to talk to twitter.  we should try to replicate that by defining interfaces for each endpoint and implementing each in a remotable proxy
  • Additional Properties - we've historically built all pojos in streams with additionalProperties = true. the juneau serializer doesn't treat this map specially the way jackson does.  perhaps this module should disable it.
  • Retries - we have a nasty mess of error handling code, that we could potentially replace with retryable 

...

References

 

http://streams.incubator.apache.org/site/0.3-incubating-SNAPSHOT/streams-project/streams-contrib/streams-provider-twitter/index.html

http://streams.incubator.apache.org/site/0.5-incubating-SNAPSHOT/streams-project/streams-contrib/streams-provider-twitter/apidocs/index.html

http://juneau.incubator.apache.org/site/apidocs/org/apache/juneau/rest/client/package-summary.html#RestClient

https://twittercommunity.com/t/solved-java-oauth-request-token-flow-example-without-libraries/1440