Google App Engine 上のアプリからの Twitter API へのアクセスが不安定
現在 Google App Engine 上のアプリからの Twitter API へのアクセスが不安定になっています。
Twitter4Jのメーリングリストで話題になっているのですが、これはTwitter4J 固有の問題ではなく、Google App Engine から Twitter API へ異常な負荷があったため GAE のネットワークからの接続を Twitter サイドから一部遮断したために発生している現象だそうです。
現在 Twitter のチームで対策を考えているそうですが、問題解決の時期などは提示されていません。
Google App Engine に Twitter API を使ったアプリケーションをデプロイしている方はご注意ください。
詳しくは以下のスレッドをご参照ください(英語)。
- Not able to connect to twitter API from Google Appengine
- Server-side OAuth Authorized instance preventing me from calling any methods
| Tweet |
Twitter4J 2.1.3 リリース - YFrog/TwitPic, UserStream をサポート
Twitter API の Java バインディングライブラリ、Twitter4J の最新版をリリースしました。
http://twitter4j.org/
最新のAPIセットを実装しています。
Maven Central Repository にも入っています。
現在はバージョン 2.1.4 を開発中です。スナップショットビルドの公開時など、最新情報は @t4j_news で配信しています。
・バージョン 2.0.x から 2.1.x への移行
・twitter4j 2.1.3 JavaDoc
・自前 maven repository
・snapshot ビルドをプロジェクトで利用する方法
・サポートAPIリスト
Release Notes - Twitter4J - Version 2.1.3
Bug
- [TFJ-326] - xAuth: setOAuthConsumer() fails with IllegalStateException if the instance is Basic auth'ed
- [TFJ-338] - getIncomingFriendship() / getOutgoingFriendship() are not checking credentials availability
- [TFJ-341] - StackOverFlowError at RequestToken.hashCode()
- [TFJ-342] - Streaming API: wait time for TCP level error is always initialized to 250ms
- [TFJ-346] - java.lang.IllegalStateException with httpclient-support
- [TFJ-347] - StatusUpdate#setInReplyToStatusId() is not functioning
- [TFJ-348] - JSONObject["created_at"] not found.
- [TFJ-356] - typo in reportSpam method
- [TFJ-357] - NoSuchMethodError with Log4J 1.2.16
- [TFJ-369] - httpclient connection closing still not quite right
Improvement
- [TFJ-349] - JSONObject["created_at"] not found.
- [TFJ-355] - make PagableResponseList mocking test friendly
- [TFJ-358] - Apache HttpClient need to be shutdown gracefully
- [TFJ-359] - defaulting useSSL=false
- [TFJ-364] - getRetweets() returns only 20 retweets
- [TFJ-370] - support location element in Tweet
New Feature
- [TFJ-39] - ability to upload images to TwitPic
- [TFJ-299] - support YFrog APIs
- [TFJ-330] - include error code generated from stacktrace in TwitterException#getMessage() for the ease of support
- [TFJ-334] - support User Stream API
- [TFJ-339] - support statuses/id/retweeted_by and statuses/id/retweeted_by/ids
- [TFJ-343] - Add Twitter Search option parameter, result_type
- [TFJ-350] - support include_rts
- [TFJ-352] - Have a source code jar in the release zip
- [TFJ-354] - add verifyCredentials in AsyncTwitter
- [TFJ-360] - add httpclient max conns configuration
- [TFJ-361] - Add support for clients specifying arbitrary stream endpoints
- [TFJ-362] - Streaming API - OAuth support
Task
- [TFJ-363] - deprecate Basic auth methods
- [TFJ-365] - move JavaDoc links from https://apiwiki.twitter.com/* to http://dev.twitter.com/doc/*
- [TFJ-368] - deprecate nearby_places
関連記事:
・Twitter4J 2.1.2 リリース - 最新APIセットをサポート - 侍ズム
・Twitter4J 2.1.1 リリース - 最新APIセットをサポート、パフォーマンス/Android対応を改善 - 侍ズム
・Twitter4J 2.1.0 リリース - 最新APIセットをサポート、パフォーマンスを大幅改善 - 侍ズム
・Twitter4J 2.0.10 リリース - geo location API, retweet API をサポート - 侍ズム
・Twitter4J 2.0.7 リリース - 侍ズム
・Twitter4J 2.0.6 リリース - 侍ズム
・Twitter4J 2.0.5 リリース - 侍ズム
・Twitter4J 2.0.4 リリース - ストリーミング API をサポート
・Twitter4J 2.0.3 リリース - JDK1.4.2 互換性を確認 - 侍ズム
・Twitter4J 2.0.2 リリース - trends API や gzip 圧縮をサポート - 侍ズム
・Google App Engine 対応 の Twitter4J 2.0.1 リリース - 侍ズム
・Twitter4J 1.1.8 リリース - 侍ズム
・Twitter4J 1.1.5 リリース
・Twitter4J 1.1.1 リリース
・Twitter4J 1.1.0 リリース
・Twitter4J 1.0.6 リリース
・Twitter4J 1.0.5 リリース
・Twitter4J 1.0.4 リリース
・Twitter4J 自前 maven リポジトリを公開
・Twitter4J 1.0.3 リリース
・Google Calendar と Twitter を連携 - Twittercal
・ Suitter Public beta 1.0
・メールで Twitter! - TwitterMail.com
・Twitter4J 1.0.2 リリース
・Twitter4J 1.0.1 リリース
・Twitter4J 1.0 リリース
| Tweet |
