Tweaks to Twitter & ES to restore examples
Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/249198c1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/249198c1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/249198c1 Branch: refs/heads/master Commit: 249198c10af119b9980662143247aa64152c3f57 Parents: 6b66b2e Author: sblackmon <[email protected]> Authored: Wed Apr 2 21:12:21 2014 -0500 Committer: sblackmon <[email protected]> Committed: Wed Apr 2 21:12:21 2014 -0500 ---------------------------------------------------------------------- .../streams/twitter/provider/TwitterTimelineProvider.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/249198c1/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/provider/TwitterTimelineProvider.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/provider/TwitterTimelineProvider.java b/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/provider/TwitterTimelineProvider.java index 242d943..4133d13 100644 --- a/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/provider/TwitterTimelineProvider.java +++ b/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/provider/TwitterTimelineProvider.java @@ -272,7 +272,10 @@ public class TwitterTimelineProvider implements StreamsProvider, Serializable { .setIncludeEntitiesEnabled(includeEntitiesEnabled) .setJSONStoreEnabled(jsonStoreEnabled) .setAsyncNumThreads(3) - .setRestBaseURL(baseUrl); + .setRestBaseURL(baseUrl) + .setIncludeMyRetweetEnabled(Boolean.TRUE) + .setIncludeRTsEnabled(Boolean.TRUE) + .setPrettyDebugEnabled(Boolean.TRUE); client = new TwitterFactory(builder.build()).getInstance();
