Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Module for Twitter4J v3 support #51

Merged
merged 6 commits into from
Apr 17, 2013
Merged

Module for Twitter4J v3 support #51

merged 6 commits into from
Apr 17, 2013

Conversation

kevinoliver
Copy link
Contributor

For issue #50.

More or less a copy-paste of the existing module. I moved the code into com.twitter.hbc.twitter4j.v3 to keep it separate, and also seems nice if we need to support future versions.

Looks like t4j v3 removed support on UserStreamListener for onRetweet so that had to get moved into our UserstreamHandler class.

@xsl
Copy link
Contributor

xsl commented Apr 15, 2013

looks like twitter4j added another callback to SiteStreamListener:
http://twitter4j.org/javadoc/twitter4j/SiteStreamsListener.html#onDisconnectionNotice(java.lang.String)

It's not in the other listeners though

@caniszczyk
Copy link
Contributor

Any reason we don't want to just merge this into the twitter4j module and bump the major version to 2.0? Doesn't seem ideal to maintain two different modules for two different versions of twitter4j unless I'm missing something.

@kevinoliver
Copy link
Contributor Author

@caniszczyk i plan to remove the other module after the streaming api removes support.

* move example over to using t4j v3
@kevinoliver
Copy link
Contributor Author

@xsl good catches. I've added the callbacks and updated the t4j example code to use v3.

xsl added a commit that referenced this pull request Apr 17, 2013
Module for Twitter4J v3 support
@xsl xsl merged commit 8636991 into master Apr 17, 2013
@kevinoliver kevinoliver deleted the t4j-3 branch April 17, 2013 21:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants