Twitter4J 2.0.6 released
Twitter4J is an open-sourced, mavenized and Google App Engine safe Java library for the Twitter API which is released under the BSD license.
Twitter4J 2.0.6 is now available for download.
This version is also available in the Maven central repository.
http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/
You can also use the snapshot repository.
http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/
Here is the complete list of fixes included in version 2.0.6
Release Notes - Twitter4J - Version 2.0.6
Bug
- [TFJ-157] - getUserTimeline should be invocable from unauthenticated Twitter instances
- [TFJ-158] - Query.setGeoCode() is missing radius parameter
Task
- [TFJ-155] - several async methods need to be marked as deprecated
| Tweet |
Twitter4J 2.0.5 released
Twitter4J is an open-sourced, mavenized and Google App Engine safe Java library for the Twitter API which is released under the BSD license.
Twitter4J 2.0.5 is now available for download.
This version is also available in the Maven central repository.
http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/
You can also use the snapshot repository.
http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/
Here is the complete list of fixes included in version 2.0.5
Release Notes - Twitter4J - Version 2.0.5
Bug
- [TFJ-150] - REGRESSION : enableNotification() fails with TwitterException: 404:The URI requested is invalid or the resource requested, such as a user, does not exists.
- [TFJ-151] - several test cases fail on JDK1.4.2 with java.lang.NoSuchMethodError
- [TFJ-153] - OAuth rarely fails with "Invalid / used nonce"
Improvement
- [TFJ-154] - search() with old since_id throws TwitterException
| Tweet |
Twitter4J 2.0.4 released - added Streaming API support
Twitter4J is an open-sourced, mavenized and Google App Engine safe Java library for the Twitter API which is released under the BSD license.
Twitter4J 2.0.4 is now available for download.
This version is also available in the Maven central repository.
http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/
You can also use the snapshot repository.
http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/
All applications using version 2.0.1 or earlier are strongly suggested to migrate to this release in order to take advantage of the gzip compression feature introduced in version 2.0.2.
Previous versions have a compatibility issue with OAuth since May 13th.
Projects requiring OAuth support need to migrate to this version.
Compatibility notes:
- retirement of ExtendedUser class
Following methods return User, or List
getUserDetail()
verifyCredentials()
updateProfile()
updateProfileColors()
getBlockingUsers()
getAuthenticatedUser()
The method signatures of TwitterListener and TwitterAdapter are changed accordingly.
"ExtendedUser" and "UserWithStatus" class are retired(deleted) since the API returns extended user information with all methods.
Use "User" class instead.
- Streaming API support
Now Twitter4J supports the Streaming API which is in alpha test phase.
http://apiwiki.twitter.com/Streaming-API-Documentation
http://apiwiki.twitter.com/Streaming-API-Documentation
Please read the above document from top to bottom carefully before you dive into TwitterStream.
Note that the Streaming API is subject to change.
Here is the complete list of fixes included in version 2.0.4
Release Notes - Twitter4J - Version 2.0.4
Bug
Improvement
New Feature
Task
| Tweet |
Twitter4J 2.0.3 released - fixed JDK1.4.2 / Processing compatibility issue
Twitter4J is an open-sourced, mavenized and Google App Engine safe Java library for the Twitter API which is released under the BSD license.
Twitter4J 2.0.3 is now available for download.
This version will be available in the Maven central repository in 24 hours.
http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/
You can also use the snapshot repository.
http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/
All applications using version 2.0.1 or earlier are strongly suggested to migrate to this release in order to take advantage of the gzip compression feature introduced in version 2.0.2.
No new features are introduced in this release since version 2.0.2.
Here are the list of fixes included in version 2.0.3
Release Notes - Twitter4J - Version 2.0.3
Bug
- [TFJ-135] - search() causes : java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: ".."
- [TFJ-136] - running Twitter4J on JDK1.4.x fails with java.lang.NoSuchMethodError: org.w3c.dom.Node.getTextContent()Ljava/lang/String;
Task
- [TFJ-137] - deprecate getDowntimeSchedule() since it's not supported by the Twitter API anymore
- [TFJ-138] - add @deprecated annotation to deprecated methods in TwitterAdapter
| Tweet |
Twitter4J 2.0.2 released - adding trends api support, gzip support for faster performance
Twitter4J is an open-sourced, mavenized and Google App Engine safe Java library for the Twitter API which is released under the BSD license.
Twitter4J 2.0.2 is now available for download.
This version is also available in the Maven central repository.
http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/
Until then, you may use the snapshot repository instead.
http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/
All applications using prior versions are strongly suggested to migrate to this release in order to take advantage of the gzip compression feature which is twitter.com friendly.
Major features introduced in this release:
- trends API support
Finally Twitter4J supports trends APIs which tells you what is hot in twitter.com.
http://yusuke.homeip.net/twitter4j/en/api-support.html#Search%20API%20Methods
- gzip support
As of Twitter4J 2.0.2, it interacts with twitter.com using gzip compression method.
No additional configuration, nor coding is required.
T4J will start talking to twitter.com in faster and network/twitter.com friendly manner by just using Twitter4J 2.0.2.
Here are the list of fixes included in version 2.0.2
Release Notes - Twitter4J - Version 2.0.2
Improvement
- [TFJ-131] - Use gzip encoding to improve performance and network bandwidth utilization
- [TFJ-132] - handle http response codes correctly to reduce unnecessary retries
New Feature
- [TFJ-120] - include rate limit status in TwitterResponse
- [TFJ-123] - support trends methods
- [TFJ-124] - support update_profile method
- [TFJ-133] - need a way to shutdown async thread gracefully
| Tweet |
Twitter4J 2.0.1 released, confirmed Google App Engine compatibility
Twitter4J is an open-sourced, mavenized and Google App Engine safe New! Java library for the Twitter API which is released under the BSD license.
Twitter4J 2.0.1 is now available for download.
This version is already available in the Maven central repository.
http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/
Here are the list of fixes included in version 2.0.1.
Release Notes - Twitter4J - Version 2.0.1
Improvement
- [TFJ-110] - remove unnecessary synchronized modifier for better multi-thread performance
- [TFJ-111] - support page and max_id parameters with getUserTimeline()
- [TFJ-112] - introduce pagenation control class which replaces page, count, and since_id parameters
- [TFJ-121] - support follow parameter with create() method
- [TFJ-122] - need a way to get AccessToken in a stateless context where RequestToken instance is not available
- [TFJ-126] - dispatcher thread should be held statically
- [TFJ-130] - fix method name inconsistencies
New Feature
- [TFJ-117] - support statuses/mentions
- [TFJ-125] - introduce a System property that specifies number of dispatcher thread
- [TFJ-128] - support pagination on social graph methods
- [TFJ-129] - introduce async search method
Task
- [TFJ-119] - rename follow() / leave() to enableNotification() / disableNotification(), create() / destoy() to createFriendship() / destroyFriendship()
| Tweet |
Twitter4J 2.0.0 released, now officially supports OAuth authorization scheme
Twitter4J is an open-sourced, mavenized and Google App Engine safe New! Java library for the Twitter API which is released under the BSD license.
Twitter4J 2.0.0 is now available for download.
This version is already available in the Maven central repository.
http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/
Compatibility note:
- OAuth support
Now Twitter4J supports OAuth authorization scheme.
You can still use userid / password combination to authenticate the user, but migrating to OAuth scheme is encouraged by the Twitter team.
Currently the usage of OAuth support is poorly documented.
Please refer twitter4j.examples.OAuthUpdate for now.
- deprecation of "Date since" parameter
All methods take "Date since" are now deprecated.
It is suggested by the Twitter team to use "since_id" where you can specify the oldest id of the status in the response.
- deprecation of UserWithStatus class
Due to the change of the Twitter API, all User information includes the latest status of the user and UserWithStatus is replaced by ExtendedUser.
Now getUserDetail() / verifyCredentials() / getUserDetail() return ExtendedUser.
ExtendedUser is extending UserWithStatus for now and applications are still compatible at the source code level.
- verifyCredentials now returns ExtendedUser, not boolean
Now verifyCredentials() returns Extended User information as documented in the Twitter REST API doc.
Accordingly, getAuthenticatedUser() is now deprecated.
Here are the list of fixes included in version 2.0.0.
Release Notes - Twitter4J - Version 2.0.0
Bug
- [TFJ-95] - getFriends(String id) and getFriends(String id, int page) return authenticating user's friends' timeline instead
Improvement
- [TFJ-103] - User element is out of sync
- [TFJ-104] - UserWithStatus element is out of sync
- [TFJ-105] - show method should return ExtendedUser instead of Status
- [TFJ-106] - unescape HTML entities
- [TFJ-108] - deprecate QueryResult#getTotal()
- [TFJ-114] - verifyCredentials() should return extended user information
New Feature
- [TFJ-49] - support update_profile_colors method
- [TFJ-75] - support social graph methods
- [TFJ-83] - OAuth support
- [TFJ-96] - support since_id with getUserTimeline
- [TFJ-97] - support since_id with getDirectMessages and getSentDirectMessages
| Tweet |