Re: [twitter-dev] TwitterException{exceptionCode=[70971d2e-00069e41 70971d2e-00069df0], statusCode=-1, retryAfter=0, rateLimitStatus=null, version=2.2.2}
Hi, It appears to be a Twitter4J specific issue. Please post the question to the Twitter4J's list along with the full stacktrace. http://twitter4j.org/en/index.html#mailingList Best, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jul 7, 2011, at 14:56 , sush wrote: Hi All, Please help me out in figuring out the causes of this Exception. As per my understandings (by reading the documentation and experimenting) I believe the -1 status code is thrown when another stream is connected with the same credentials. Are there any other scenarios when this Exception occurs.. Thanks, Sushant -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] twitter api for android
Hi, You may find this useful. http://twitter4j.org/ Best regards, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jun 12, 2011, at 17:54 , saami wrote: hello is there any API of twitter for Android. I want to integrate twitter with my android application. kindly guide me. saami -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Twitter4J 2.2.3 released - with media entity, latest api and new permission scheme support
Hi all, Twitter4J is an unofficial, open-sourced, mavenized and Google App Engine/Android ready Java library for the Twitter API released under the Apache License 2.0. I'm pleased to announce the immediate availability of Twitter4J version 2.2.3. Please note that Twitter4J is an open-source project which is NOT sponsored or affiliated by Twitter. For Twtter4J specific issues/questions, please use the Twitter4J mailing list (NOT twitter-development-talk). http://twitter4j.org/en/index.html#mailingList - Media entity support Now you can access media entities through Status#getMediaEntities(). http://twitter4j.org/en/javadoc/twitter4j/Status.html#getMediaEntities() - Overriding access level You can override your app's access level via getOAuthRequestToken(callbackurl, xAuthAccessLevel). http://twitter4j.org/en/javadoc/twitter4j/auth/OAuthSupport.html#getOAuthRequestToken(java.lang.String,%20java.lang.String) applicable values for xAuthAcessLevel are : read or write see also: http://dev.twitter.com/doc/post/oauth/request_token - Download: http://twitter4j.org/en/index.html#download - Release Notes: http://twitter4j.org/jira/secure/ReleaseNote.jspa?projectId=10002version=10362 This release is also available at the Maven central repository. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/ Please refer the Support API matrix for supported methods. http://twitter4j.org/en/api-support.html Best regards, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Re: Checking whether a user has given permission to Private Messages
Hi, The doc says, “read-write-directmessages” (Read, Write, Direct Message) But actually I get read-write-privatemessages as you mentioned. It's a doc bug, right? Best, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On May 24, 2011, at 08:18 , Arnaud Meunier wrote: We just started to return the X-Access-Level header for authenticated API requests, that tells you what access level the user token has: - read (Read-only) - read-write (Read Write) - read-write-privatemessages (Read, Write, Private Message) The FAQ on http://dev.twitter.com/pages/application-permission-model-faq will be udpated in a minute :) Hope that helps, Arnaud / @rno On Mon, May 23, 2011 at 3:26 PM, Tyson Lowery tysonlow...@gmail.com wrote: I think I found the answer from themattharris: How do we know what the access level of a user token is? This is a great idea and one the team has discussed. What we are going to do is add a new header to authentication requests that will tell you the access level of the token you authenticated with. We’re working on this now and hope to have it released in the next few days. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] New Photo upload feature: What's new coming on the API side
Hi, The media-entities look very similar to url-entities. Are media entity URLs appear in urls object as well? Best, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jun 2, 2011, at 03:34 , Arnaud Meunier wrote: Hey developers, We have just announced a couple of new exciting features at the All Things D conference, one of which is the ability to upload photos to twitter.com. Uploading photos to Twitter is currently available on the twitter.com desktop version, and its access is initially limited to a very small number of users. In the next couple of weeks, as we progressively ramp up the number of users who have access to the feature, we'll provide you with more details about how you can use the Tweet-with-photo API. For now, the only change you'll notice on the API side is a new media entity in the status object. We encourage you to support rendering, and to help you with that, we just revamped the Tweet Entities documentation page, describing in detail how you can use this structured data: http://dev.twitter.com/pages/tweet_entities Note that we also updated our API Terms of Service [1] and our Display Guidelines [2] to include this new feature. As ever, if you have questions about the new media entity or our ToS changes, let us know on the list or through @twitterapi. [1] http://dev.twitter.com/pages/api_terms [2] http://dev.twitter.com/pages/display_guidelines Arnaud / @rno -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] Deleting twitter updates from Java
Hi, Here you can find an example using Twitter4J. https://github.com/yusuke/twitter4j/blob/master/twitter4j-examples/src/main/java/twitter4j/examples/tweets/DestroyStatus.java Best, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On May 31, 2011, at 19:53 , Udara Alwis wrote: Hey Everyone ! Can someone please tell how to use Twitter POST API to delete tweets from java ? http://dev.twitter.com/doc/post/statuses/destroy/:id a simple code snippet would be very useful as i'm a beginner for twitter API. -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
Re: [twitter-dev] DM enforcement date has been extended to the end of June
Hi, When the new permission is enforced we will return an HTTP 403 Forbidden error with the response body: {errors:[{code:93,message:This application is not allowed to access or delete your direct messages}]} The format of the error message differs from the one described in the following page. http://dev.twitter.com/pages/responses_errors I'm hoping it to be consistent. Best, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On May 28, 2011, at 08:39 , Matt Harris wrote: Hey everyone, We wanted to say a big thank you to the developers who have been sending us debug information, and details of steps to follow to reproduce device specific issues. An especially big thank you to those of you who have shared the changes you made to your applications on the mailing list. All of this information has helped us to improve the OAuth flow for you and your users. But, we know that we're getting close to the DM enforcement date and that some of these new features aren't available to you yet. We understand this means you might not be able to fully test your updated flow so we are going to extend the deadline until the end of June. This makes the new enforcement date Thursday, June 30th, 2011. Below is a list of the features we are adding in response to your requests and feedback: 1. Adding the force_login parameter to the /oauth/authorize screen to ensure the /authorize screen displays a login screen. 2. Adding the screen_name parameter to the /oauth/authorize and /oauth/authenticate requests. When provided with the force_login parameter we will pre-fill the username box on the OAuth screen. 3. Adding a Back to app button on the webpage which is loaded if a user selects no, thanks. When selected the Back to app button will open the provided oauth_callback URL with a 'denied' parameter. The value of the denied parameter will be the request_token obtained from the /request_token request. For example: http://example.com/callback/?denied=xyz123abc 4. Design updates to the OAuth screens to improve compatibility across devices. 5. A lightweight OAuth screen flow for devices which are slow or incompatible with the new screens. 6. A new header on authenticated requests which tells you the access level of the oauth_token you are using. The header is available now and is called X-Access-Level. More information for this is available here: https://dev.twitter.com/pages/application-permission-model-faq Thanks for working with us to ensure users can make informed decisions about the access an application has to their account. Best @themattharris Developer Advocate, Twitter http://twitter.com/themattharris -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
[twitter-dev] Twitter4J 2.2.1 released
Hi all, Twitter4J is an unofficial, open-sourced, mavenized and Google App Engine/Android ready Java library for the Twitter API released under the Apache License 2.0. I'm pleased to announce the immediate availability of Twitter4J version 2.2.1. Please note that Twitter4J is an open-source project which is NOT sponsored or affiliated by Twitter. For Twtter4J specific issues/questions, please use the Twitter4J mailing list (NOT twitter-development-talk). http://twitter4j.org/en/index.html#mailingList - Download: http://twitter4j.org/en/index.html#download - Release Notes: http://twitter4j.org/jira/secure/ReleaseNote.jspa?projectId=10002version=10362 This release is also available at the Maven central repository. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/ Please refer the Support API matrix for supported methods. http://twitter4j.org/en/api-support.html Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] search API and until parameter
Hi, What is the timezone used by the search API? The first tweet hit with q=#todokeuntil=2011-03-16 is id=48156449427300352 which is created at Wed Mar 16 22:59:26 + 2011. But there are tweets posted later on that day that should hit with the query such as id=48171154753601536 which is created at Wed Mar 16 23:57:52 + 2011. Best, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] where to download the latest Twitter4J build
Hi, http://twitter4j.org/ is shutdown, and meanwhile you can download the latest Twitter4J build from the github. https://github.com/yusuke/twitter4j/downloads The latest stable build is available at the maven central repository. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/2.2.0/ This is because the government official instructed us to save electricity. Everything is under control in Tokyo. Twitter has been the most reliable bi-directional communication platform under this circumstance. Thanks Twitter! -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Not Able to Generate Access Token.
Hi, Try the latest version of Twitter4J, and you'll get more verbose message. If it doesn't help, consult the Twitter4J list http://twitter4j.org/en/index.html#mailingList Best, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Mar 8, 2011, at 16:47 , techniclr wrote: Hi moderators I am having problem in generating one time access token. When i try to generate using Java i am getting following exception. Exception in thread main TwitterException{exceptionCode=[68a00bf1- d29a3734], statusCode=401, retryAfter=0, rateLimitStatus=null, version=2.1.3} at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java: 307) at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java: 72) at twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java: 103) at twitter4j.http.OAuthAuthorization.getOAuthRequestToken(OAuthAuthorization.java: 121) at twitter4j.TwitterOAuthSupportBaseImpl.getOAuthRequestToken(TwitterOAuthSupportBaseImpl.java: 87) at twitter4j.Twitter.getOAuthRequestToken(Twitter.java:54) at twitter4j.TwitterOAuthSupportBaseImpl.getOAuthRequestToken(TwitterOAuthSupportBaseImpl.java: 80) at twitter4j.Twitter.getOAuthRequestToken(Twitter.java:54) at com.tcs.service.twitter.TwitterAccessToken.main(TwitterAccessToken.java: 25) I am not able to get the correct reason for this exception. Please guide me in resolving it. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: #newtwitter and the API
Hi, Any estimation of the #newtwitter API doc availability? -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Dec 15, 2010, at 23:58 , Yusuke Yamamoto wrote: Got it. Thanks! -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Dec 15, 2010, at 23:57 , Taylor Singletary wrote: Hi Yusuke, We'll probably graduate the majority of these APIs to the official documentation next month. A number of them are still in active iteration. Thanks, Taylor On Tue, Dec 14, 2010 at 10:15 PM, Yusuke yus...@mac.com wrote: Hi, Is there any plan to make these new API methods available in the official document? Thanks, Yusuke On Sep 24, 2:52 am, Matt Harris thematthar...@twitter.com wrote: Thanks for all the questions and feedback everyone. Hopefully my comments below will answer your questions. Robert/Tom: The API limit for #newtwitter applies the same as other applications so the requests are deducted from the authenticated users rate limit. Ed: There are plans to allow more customisation than currently exists on twitter.com. With the new design many users may want to update their images to work with the new padding and width though. The space in the lower right is empty at the moment, but like twitter before, new features/enhancements may occupy or use it. Analytics wise there are no plans to do something like this - if it was a project what kind of things would you find useful? Dewald: The default format ofhttp://twitter.com/themattharrisis not being phased out. We just wanted to let you know the new format (with /#!) is expected, and is something apps may find users giving them. You don't need to update the links in your application unless you wish to. Brian: We intend to have entities support in results from the Search API. At the moment they are not yet supported there. Damon: the retweet and retweet_count fields are currently disabled. Some issues were identified soon after they were released which we are working through. Best, @themattharris On Thu, Sep 23, 2010 at 9:55 AM, Damon Clinkscales sca...@pobox.com wrote: Brian, Thanks for the info. retweet_count The status object now includes a retweet_count field. When enabled this field will indicate the number of times a Tweet has been retweeted using the Twitter retweet function. What does when enabled mean? I have a couple of tweets for which I am trying to find out the absolute count of retweets. All I know is that the Twitter UI says 100+ retweets. But when I pull the status objects, retweet_count is blank. These tweets are from 2 days ago. Can someone point me to the best way to find out? Thanks! /damon -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: Site Streams Beta - Endpoint change to sitestream.twitter.com
Hi, Is the new endpoint https://stream.twitter.com/2b/ ? or https://stream.twitter.com/2/? -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Feb 23, 2011, at 07:23 , John Kalucki wrote: Note that Site Streams is still in a beta test. We're just moving endpoints around for other projects. Sorry for any confusion. -John On Tue, Feb 22, 2011 at 2:15 PM, John Kalucki j...@twitter.com wrote: Please change your Site Streams beta clients to point to sitestream.twitter.com and not to betastream.twitter.com. We'll continue to support betastream.twitter.com for several weeks. This is more of a clean-up step. Thanks, -John Kalucki http://twitter.com/jkalucki Twitter, Inc. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: Site Streams Beta - Endpoint change to sitestream.twitter.com
Oops, I was pointing stream.twitter.com instead of sitestream.twitter.com. http://sitestream.twitter.com/2b/ works fine. Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Feb 23, 2011, at 13:04 , Yusuke Yamamoto wrote: Additionally, on HTTP I get 404 status code from both http://stream.twitter.com/2/site.json and http://stream.twitter.com/2b/site.json [Wed Feb 23 12:13:11 JST 2011]POST http://stream.twitter.com/2b/site.json [Wed Feb 23 12:13:11 JST 2011]OAuth base string: POSThttp%3A%2F%2Fstream.twitter.com%2F2b%2Fsite.jsonfollow%3D6377362%252C6358482%26oauth_consumer_key%3DUSLG8ce1GgCOTzmxODYyg%26oauth_nonce%3D2990038945%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1298430791%26oauth_token%3D4933401-D0jHvIeQbyjrENE5TK0iSGr2VVv7ppFOQpmwPztZ1y%26oauth_version%3D1.0%26with%3Dfollowings [Wed Feb 23 12:13:11 JST 2011]OAuth signature: Sx7ygdXoSogNMOon9cY91Vwsslo= [Wed Feb 23 12:13:11 JST 2011]Authorization: *** [Wed Feb 23 12:13:11 JST 2011]X-Twitter-Client-URL: http://twitter4j.org/en/twitter4j-2.2.0-SNAPSHOT.xml [Wed Feb 23 12:13:11 JST 2011]X-Twitter-Client: Twitter4J [Wed Feb 23 12:13:11 JST 2011]Accept-Encoding: gzip [Wed Feb 23 12:13:11 JST 2011]User-Agent: twitter4j http://twitter4j.org/ /2.2.0-SNAPSHOT [Wed Feb 23 12:13:11 JST 2011]X-Twitter-Client-Version: 2.2.0-SNAPSHOT [Wed Feb 23 12:13:11 JST 2011]Post Params: with=followingsfollow=6377362%2C6358482 [Wed Feb 23 12:13:12 JST 2011]Response: [Wed Feb 23 12:13:12 JST 2011]HTTP/1.1 404 Not Found [Wed Feb 23 12:13:12 JST 2011]Transfer-Encoding: chunked [Wed Feb 23 12:13:12 JST 2011]Content-Type: text/html; charset=iso-8859-1 [Wed Feb 23 12:13:12 JST 2011]Server: Jetty(6.1.25) [Wed Feb 23 12:13:12 JST 2011]Unknown URL. See Twitter Streaming API documentation at http://apiwiki.twitter.com/Streaming-API-Documentation Changing the HTTP method to GET doesn't work. What is the correct endpoint URI? Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Feb 23, 2011, at 09:39 , Yusuke Yamamoto wrote: Hi, https://stream.twitter.com/ returns self-signed certificate. Any plan to fix that? Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Feb 23, 2011, at 07:23 , John Kalucki wrote: Note that Site Streams is still in a beta test. We're just moving endpoints around for other projects. Sorry for any confusion. -John On Tue, Feb 22, 2011 at 2:15 PM, John Kalucki j...@twitter.com wrote: Please change your Site Streams beta clients to point to sitestream.twitter.com and not to betastream.twitter.com. We'll continue to support betastream.twitter.com for several weeks. This is more of a clean-up step. Thanks, -John Kalucki http://twitter.com/jkalucki Twitter, Inc. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter4J 2.2.0 released - refactored and slimmer than ever
Hi all, Twitter4J is an unofficial, open-sourced, mavenized and Google App Engine/Android ready Java library for the Twitter API released under the Apache License 2.0. I'm pleased to announce the immediate availability of Twitter4J version 2.2.0. The core jar file has been slimmed down from 528KB to 270KB. We also ship more slimmed version of jar files for Android platform which don't include json.org's library. Please note that Twitter4J is an open-source project which is NOT sponsored or affiliated by Twitter.com. For Twtter4J specific issues/questions, please use the Twitter4J mailing list (NOT twitter-development-talk). http://twitter4j.org/en/index.html#mailingList - Download: http://twitter4j.org/en/index.html#download - Release Notes: http://tinyurl.com/TFJ220 This release is also available at the Maven central repository. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/ Please refer the Support API matrix for supported methods. http://twitter4j.org/en/api-support.html Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter4J 2.1.12 released - with less bugs, a few improvements
Hi all, Twitter4J is an unofficial, open-sourced, mavenized and Google App Engine/Android ready Java library for the Twitter API released under the BSD license. Please note that Twitter4J is an independent open-source project, and is not sponsored or affiliated by Twitter.com. For Twtter4J specific issues/questions, please use the Twitter4J mailing list (NOT twitter-development-talk). http://twitter4j.org/en/index.html#mailingList I'm pleased to announce the immediate availability of Twitter4J version 2.1.12 This version includes many bug fixes and improvements towards version 2.2.x. - Download: http://twitter4j.org/en/index.html#download - Release Notes: http://tinyurl.com/TFJ2112 This release will soon be available at the Maven central repository. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/ Please refer the Support API matrix for supported methods. http://twitter4j.org/en/api-support.html Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] about trends.api.twitter.com
Hi Matt, Are trends.api.twitter.com/* officially supported endpoints? In other words, should Twitter4J and other libraries connect to trends.api.twitter.com by default? Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Feb 11, 2011, at 10:40 , Matt Harris wrote: Hi Ian, For trends you might like to try our trends.api.twitter.com server which hosts a cached copy of the trends information and is updated whenever the trends change. It should support your use case and we would be interested in any feedback you may have about it's performance. To use it just map the api.twitter.com trends request onto the trends.api.twitter.com domain name, for example: http://api.twitter.com/1/trends/available.json becomes: http://trends.api.twitter.com/1/trends/available.json and: http://api.twitter.com/1/trends/1.json becomes: http://trends.api.twitter.com/1/trends/1.json Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Whitelisting is still in the docs. Please remove this.
Hi, It'll be nice to mention that in the following page as well: http://twitter.com/help/request_whitelisting There are many pages which link to the form. http://www.google.com/search?hl=ensafe=offclient=safarirls=enq=linkto%3Ahttp%3A%2F%2Ftwitter.com%2Fhelp%2Frequest_whitelistingaq=faqi=aql=oq= Best, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Feb 13, 2011, at 01:29 , Taylor Singletary wrote: Sorry Adam, missed this document among the many -- it's fixed now. The form itself and its text are immutable at the moment. On Sat, Feb 12, 2011 at 5:26 AM, Adam Green 140...@gmail.com wrote: http://dev.twitter.com/pages/rate-limiting#whitelisting Ryan, Taylor, Matt, I know changing mistakes in the docs has been impossible in the past. My guess is that someone lost the password for these pages. But leaving the whitelisting statement in the docs and the whitelisting form online is a sign of complete disrespect for your developers. New devs will see this and still think they can get whitelisting. Even worse they will waste their time building apps that need whitelisting, since the request form says: Whitelisting is only available to developers and to applications in production How would you feel if you started building an app today, spent months on it, got it into production, and then waited months for approval, since the docs say you won't get a response until approval is done? Not removing this shows that developers don't really matter to Twitter. Removing it right away shows that they do. Please don't say that you are too busy to make that change, and that it will be done some time in the future. Nobody is that busy. Please remove it. Thanks. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] OAuth Twitter 401 Unauthorized
Hi, You may want to look at Twitter4J's source code. It just works. https://github.com/yusuke/twitter4j -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Feb 11, 2011, at 07:21 , ayjay wrote: Sending signed OAuth header: Authorization: OAuth oauth_nonce=twitterecm1297372838828, oauth_callback=http%3A%2F%2Ftwitter.myurl.com%2Fwf%2Fwf %2Fservlet.method %2Fcom.iflow.wf.cpn.twitter.TwitterTest.testCallback, oauth_signature_method=HMAC-SHA1, oauth_timestamp=1297372838828, oauth_consumer_key=05aXcuPKpDAQMR**, oauth_signature=O%2F4RKChkbfXCt%2Bp73%2**, oauth_version=1.0 to URL: https://api.twitter.com/oauth/request_token and get Respnoseheaders: null:[HTTP/1.1 401 Unauthorized] X-Runtime:[0.00684] Content-Length:[44] X-Transaction:[1297372843-99326-52182] Expires:[Tue, 31 Mar 1981 05:00:00 GMT] Last-Modified:[Thu, 10 Feb 2011 21:20:43 GMT] X-Revision:[DEV] Set-Cookie: [_twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCJaOchEuAToHaWQiJTBmYWI3MGQ3ZTExYTYz %250ANzc2ZTE4Y2Y3MWIwYzIwMjg5IgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy %250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA-- ca7e3ee9b6aee2cb024341be086688bee84c3aac; domain=.twitter.com; path=/; HttpOnly, guest_id=129737284366960543; path=/; expires=Sat, 12 Mar 2011 21:20:43 GMT, k=188.22.59.201.1297372843662357; path=/; expires=Thu, 17-Feb-11 21:20:43 GMT; domain=.twitter.com] Connection:[close] Server:[hi] Cache-Control:[no-cache, no-store, must-revalidate, pre-check=0, post- check=0] Pragma:[no-cache] Status:[401 Unauthorized] Date:[Thu, 10 Feb 2011 21:20:43 GMT] Vary:[Accept-Encoding] Content-Type:[text/html; charset=utf-8] and when reading from the URL (opening input stream): java.io.IOException: Server returned HTTP response code: 401 for URL: https://api.twitter.com/oauth/request_token Java Code: PrintWriter pw = res.getWriter(); String timestamp = + new Date().getTime(); String nonce = twitterecm + timestamp; String httpParameters = oauth_callback= + URLEncoder.encode(TWITTER_CALLBACKURL, UTF-8) + oauth_consumer_key= + URLEncoder.encode(CONSUMER_KEY, UTF-8) + oauth_nonce= + URLEncoder.encode(nonce, UTF-8) + oauth_signature_method=HMAC-SHA1 + oauth_timestamp= + timestamp + oauth_version=1.0; String signatureBase = POST + + URLEncoder.encode(REQUESTTOKEN_ENDPOINT, HttpUtils.UTF_8) + + URLEncoder.encode(httpParameters, UTF-8); pw.write(br/br/bSIGNATUREBASE/b: + signatureBase); String signatureKey = CONSUMER_SECRET + ; pw.write(br/bSIGNATUREKEY/b: + signatureKey); // sign URL with consumer secret String signature = getSignature(signatureBase, signatureKey); pw.write(br/br/bSIGNATURE/b: + signature); String header = OAuth oauth_nonce=\ + URLEncoder.encode(nonce, UTF-8) + \, oauth_callback=\ + URLEncoder.encode(TWITTER_CALLBACKURL, UTF-8) + \, oauth_signature_method=\HMAC-SHA1 + \, oauth_timestamp=\ + timestamp + \, oauth_consumer_key=\ + URLEncoder.encode(CONSUMER_KEY, UTF-8) + \, oauth_signature=\ + URLEncoder.encode(signature, HttpUtils.UTF_8) + \, oauth_version=\1.0 + \; pw.write(br/br/bHEADER:/b Authorization: + header.replace(,, ,br/)); String urlStr = REQUESTTOKEN_ENDPOINT; pw.write(br/br/bTO URL/b: + urlStr); URL url = new URL(urlStr); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setRequestProperty(Authorization, header); conn.setRequestMethod(POST); conn.setDoOutput(true); OutputStreamWriter writer = new OutputStreamWriter(conn.getOutputStream(), UTF-8); writer.write(httpParameters); writer.flush(); StringBuilder answer = new StringBuilder(); BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream(), UTF-8)); String line; while ((line = reader.readLine()) != null) { answer.append(line); } writer.close(); reader.close(); pw.write(br/ + answer.toString()); pw.flush(); pw.close(); Pleas help, tried lots of different things, Google API with OAuthConsumer, OAuthProvider etc. too, got always the same response. Thx, Andy -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker
Re: [twitter-dev] is count parameter applicable for sample stream?
Any idea? -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 22, 2011, at 17:23 , Yusuke Yamamoto wrote: Hi, Is count parameter applicable for sample stream? The doc for statuses/sample says that the method accepts count and delimited parameters. http://dev.twitter.com/pages/streaming_api_methods#statuses-sample But the description for count parameter says that the parameter is applicable for Firehose, Links, Birddog and Shadow clients and the count parameter is not allowed elsewhere. http://dev.twitter.com/pages/streaming_api_methods#count Thanks in advance, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] location operator for the Search API
Any idea? -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 24, 2011, at 00:23 , Yusuke Yamamoto wrote: Hi, What is location operator? The doc for the search API addresses location operator in Operator Limits paragraph. http://dev.twitter.com/doc/get/search - location operator: • results are limited to 7 days - But the operator is not listed in the following page: http://search.twitter.com/operators Is the operator really existing? Thanks in advance, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] location operator for the Search API
Hi, What is location operator? The doc for the search API addresses location operator in Operator Limits paragraph. http://dev.twitter.com/doc/get/search - location operator: • results are limited to 7 days - But the operator is not listed in the following page: http://search.twitter.com/operators Is the operator really existing? Thanks in advance, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] is count parameter applicable for sample stream?
Hi, Is count parameter applicable for sample stream? The doc for statuses/sample says that the method accepts count and delimited parameters. http://dev.twitter.com/pages/streaming_api_methods#statuses-sample But the description for count parameter says that the parameter is applicable for Firehose, Links, Birddog and Shadow clients and the count parameter is not allowed elsewhere. http://dev.twitter.com/pages/streaming_api_methods#count Thanks in advance, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] How can I receive Garden Hose level access?
Hi, You may want to contact a...@twitter.com, or fill out the form at http://twitter.com/help/request_streaming It's documented here: http://support.twitter.com/entries/160385-how-do-i-get-whitelisted Using the Streaming API? The Streaming API does not have a whitelist. It does, however, have access roles that determine how much of the full firehose your account can get. By default, an account can connect to a small sampling. • If you want to upgrade your account's access role, write into a...@twitter.com or use this form to apply for higher access roles: http://twitter.com/help/request_streaming. - Cheers, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 20, 2011, at 15:27 , hiroshi wrote: Dear Twitter staff. I am Hiroshi Fujimoto from Osaka University in Japan. Our Research lab is currently performing a research on a topic in social network. We are interested in accessing Garden Hose API for academic research purpose. I have looked for information about requesting Garden Hose access, but I was not able to find it on your site. Please let me know any required procedure to obtain the access. I am looking forward to your replay. Thank you very much. Sincerely, Hiroshi Fujimoto -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: Twitter in Android Scribe
Try Twitter4J. There are many Android apps using Twitter4J http://twitter4j.org/ Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 20, 2011, at 19:41 , okho...@gmail.com wrote: I thought that Scribe is one of them... I've tried using Jtwitter and signpost, same result. -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter4J 2.1.11 released - improved streaming API support stability
Hi all, Twitter4J is an unofficial, open-sourced, mavenized and Google App Engine/Android ready Java library for the Twitter API released under the BSD license. Please note that Twitter4J is an independent open-source project, and is not sponsored or affiliated by Twitter.com. For Twtter4J specific issues/questions, please use the Twitter4J mailing list (NOT twitter-development-talk). http://twitter4j.org/en/index.html#mailingList I'm pleased to announce the immediate availability of Twitter4J version 2.1.11 This version - Download: http://twitter4j.org/en/index.html#download - Release Notes: http://tinyurl.com/T4J2111 This release is available at the Maven central repository. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/ Please refer the Support API matrix for supported methods. http://twitter4j.org/en/api-support.html -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Streaming Unfollow events through Site Streams
Twitter4J already supports the feature. http://twitter4j.org/jira/browse/TFJ-529 Will the it come back later? -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 19, 2011, at 14:33 , Tim Haines wrote: Just incase anyone else is playing with these, the unfollow events were just removed (deploy was rolled back). On Wed, Jan 19, 2011 at 5:14 AM, Matt Harris thematthar...@twitter.com wrote: Hey everyone, Starting today we will be streaming unfollow events through Site Streams. These events are being streamed to allow you to keep the social graph of your users current without the need to query the REST API. We require that you only surface actions that are organically displayed on Twitter. This means, for example, executing the unfollow and delete actions but not publicly displaying them to end users. (Section II.4.B of the API Terms of Service - http://dev.twitter.com/pages/api_terms ). The event will be the same format as follow except the event type will be unfollow. For example: { for_user: 123456, message: { created_at: Thu Jan 12 21:55:04 + 2011, target: { user object for user 123456 - the person being unfollowed }, event: unfollow, source: { user object for user 987654 - the user unfollowing the target }, } } Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Streaming Unfollow events through Site Streams
Thanks for your prompt response! -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 19, 2011, at 16:04 , Tim Haines wrote: Yes, I expect so. On Wed, Jan 19, 2011 at 2:51 PM, Yusuke Yamamoto yus...@mac.com wrote: Twitter4J already supports the feature. http://twitter4j.org/jira/browse/TFJ-529 Will the it come back later? -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 19, 2011, at 14:33 , Tim Haines wrote: Just incase anyone else is playing with these, the unfollow events were just removed (deploy was rolled back). On Wed, Jan 19, 2011 at 5:14 AM, Matt Harris thematthar...@twitter.com wrote: Hey everyone, Starting today we will be streaming unfollow events through Site Streams. These events are being streamed to allow you to keep the social graph of your users current without the need to query the REST API. We require that you only surface actions that are organically displayed on Twitter. This means, for example, executing the unfollow and delete actions but not publicly displaying them to end users. (Section II.4.B of the API Terms of Service - http://dev.twitter.com/pages/api_terms ). The event will be the same format as follow except the event type will be unfollow. For example: { for_user: 123456, message: { created_at: Thu Jan 12 21:55:04 + 2011, target: { user object for user 123456 - the person being unfollowed }, event: unfollow, source: { user object for user 987654 - the user unfollowing the target }, } } Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: Incorrect signature
Hi, time() returns epoch time which is an absolute value, and you don't need to consider timezones. http://php.net/manual/en/function.time.php -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 18, 2011, at 13:56 , Thomas wrote: My servers default time is PST but twitters time is EST I believe so that's why I added 3 hours. On Jan 17, 4:35 pm, @epc epcoste...@gmail.com wrote: On Jan 16, 2:10 pm, Thomas thomasrei...@gmail.com wrote: ?php $time = time() + 10800; Why are you setting the timestamp for 3 hours in the future? oAuth/twitter are very picky about the time being close to accurate, being 3 hours off is definitely one potential problem with your code. -- -ed costello -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] yet another Twitpocalypse - direct message id exceeded 32bit signed integer
Changed the subject from twitterpocalypse to Twitpocalypse just for the googlability. -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 6, 2011, at 15:30 , Yusuke Yamamoto wrote: Hi all, Not sure if it's a well known issue, but I just want to let you know that the id of direct message passed 2147483647 - which is the largest number of 32bit signed integer. Applications use direct message may need to deal with this. Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] promoted trends via API
Hi all, Are promoted trending topics available via API? To me, promoted_content and event elements are always null despite that I'm seeing promoted trending topics on twitter.com such as #Whats4Breakfast. Thanks in advance, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] promoted trends via API
got it. Thanks for your prompt response! -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 7, 2011, at 10:52 , Matt Harris wrote: Hi Yusuke, Promoted Content is not generally available. Whilst we are testing with a group of developers there is no timeline for when more developers can apply for access or if the API will be opened up. More information can be found in this archived thread: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/2b9805d5901f2125/ Best @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Thu, Jan 6, 2011 at 5:47 PM, Yusuke Yamamoto yus...@mac.com wrote: Hi all, Are promoted trending topics available via API? To me, promoted_content and event elements are always null despite that I'm seeing promoted trending topics on twitter.com such as #Whats4Breakfast. Thanks in advance, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] yet another twitterpocalypse - direct message id exceeded 32bit signed integer
Hi all, Not sure if it's a well known issue, but I just want to let you know that the id of direct message passed 2147483647 - which is the largest number of 32bit signed integer. Applications use direct message may need to deal with this. Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter4J 2.1.10 released - fixes message id overflow issue
Hi all, Twitter4J is an unofficial, open-sourced, mavenized and Google App Engine/Android ready Java library for the Twitter API released under the BSD license. I'm pleased to announce the immediate availability of Twitter4J version 2.1.10 Developers using Twitter4J are encouraged to migrate to this latest version due to the direct message id overflow issue. Note that you need to rebuild your application to migrate to this version. - Download: http://twitter4j.org/en/index.html#download - Release Notes: http://tinyurl.com/T4J2110 This release will be available at the Maven central repository in an hour. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/ Please refer the Support API matrix for supported methods. http://twitter4j.org/en/api-support.html Please note that Twitter4J is not sponsored or affiliated by Twitter.com. For Twtter4J specific issues/questions, please use the Twitter4J mailing list (NOT twitter-development-talk). http://twitter4j.org/en/index.html#mailingList -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] /1/friendships/lookup.json doesn't accept POST method
got it. Thanks for the response. -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 4, 2011, at 09:26 , Matt Harris wrote: Hi Yusuke, users/lookup supports POST for historical reasons so support hasn't been removed. friendships/lookup is more recent and it was decided that the correct HTTP request for this is a GET. Hope that helps, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Fri, Dec 31, 2010 at 7:52 AM, Yusuke Yamamoto yus...@mac.com wrote: If it's done by design, it's okay. I just think it's not consistent with users/lookup method which accepts POST method. http://dev.twitter.com/doc/get/users/lookup -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 1, 2011, at 00:45 , Tom van der Woerdt wrote: Since you're actually GETting information and not POSTing information, yes, you should use GET. Tom On 12/31/10 4:35 PM, Yusuke Yamamoto wrote: Hi, /1/friendships/lookup.json returns This method requires a GET. with POST method as follows: - {request:\/1\/friendships\/lookup.json?screen_name=barakobama,twit4j2,twit4jprotected,error:This method requires a GET.} - Is it done by design? The method accepts up to 100 screen names and it would be nice to accept POST method as same as /1/users/lookup. Thanks, -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter4J 2.1.9 released - supports new APIs used by #newtwitter
Hi all, *** Twitter4J version 2.1.5 has a critical regression and it fails to generate appropriate OAuth signature. Please migrate to version 2.1.9 ** Twitter4J is an unofficial, open-sourced, mavenized and Google App Engine/Android ready Java library for the Twitter API released under the BSD license. I'm pleased to announce the immediate availability of Twitter4J version 2.1.9 This version supports all official APIs including Site Streams beta and experimental APIs used by #newtwitter - Download: http://twitter4j.org/en/index.html#download - Release Notes: http://tinyurl.com/T4J219 This release is also available at the Maven central repository. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/ Please refer the Support API matrix for supported methods. http://twitter4j.org/en/api-support.html Please note that Twitter4J is not sponsored or affiliated by Twitter.com. For Twtter4J specific issues/questions, please use the Twitter4J mailing list (NOT twitter-development-talk). http://twitter4j.org/en/index.html#mailingList Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] /1/account/settings.json and sleep_time
Hi, /1/account/settings is a new api which has not been included in the official document. http://groups.google.com/group/twitter-development-talk/browse_thread/thread/cdc34ae78a2350b8?pli=1 GET /1/account/settings.{format} Requires authentication. Returns the current trend, geo and sleep time information for the authenticating user. -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Dec 31, 2010, at 20:48 , Tom van der Woerdt wrote: I've never seen sleep_time before and the first result on google is your question. In fact, I've never seen account/settings before, which makes me think it's a private API. This would most likely mean that it's undocumented and that nobody is going to tell you how it works. Tom On 12/31/10 6:02 AM, Yusuke Yamamoto wrote: Hi, I'm testing /1/account/settings.json method and getting the following response: --- { sleep_time: { enabled: false, start_time: null, end_time: null }, trend_location: [ { countryCode: null, url: http://where.yahooapis.com/v1/place/1;, country: , name: Worldwide, placeType: { code: 19, name: Supername }, woeid: 1 } ], geo_enabled: true } --- To me, sleep_time/enabled is always false. What does the element mean and how do I enable this feature? Thanks in advance, -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] /1/friendships/lookup.json doesn't accept POST method
Hi, /1/friendships/lookup.json returns This method requires a GET. with POST method as follows: - {request:\/1\/friendships\/lookup.json?screen_name=barakobama,twit4j2,twit4jprotected,error:This method requires a GET.} - Is it done by design? The method accepts up to 100 screen names and it would be nice to accept POST method as same as /1/users/lookup. Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] /1/friendships/lookup.json doesn't accept POST method
If it's done by design, it's okay. I just think it's not consistent with users/lookup method which accepts POST method. http://dev.twitter.com/doc/get/users/lookup -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Jan 1, 2011, at 00:45 , Tom van der Woerdt wrote: Since you're actually GETting information and not POSTing information, yes, you should use GET. Tom On 12/31/10 4:35 PM, Yusuke Yamamoto wrote: Hi, /1/friendships/lookup.json returns This method requires a GET. with POST method as follows: - {request:\/1\/friendships\/lookup.json?screen_name=barakobama,twit4j2,twit4jprotected,error:This method requires a GET.} - Is it done by design? The method accepts up to 100 screen names and it would be nice to accept POST method as same as /1/users/lookup. Thanks, -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] /1/account/settings.json and sleep_time
Hi, I'm testing /1/account/settings.json method and getting the following response: --- { sleep_time: { enabled: false, start_time: null, end_time: null }, trend_location: [ { countryCode: null, url: http://where.yahooapis.com/v1/place/1;, country: , name: Worldwide, placeType: { code: 19, name: Supername }, woeid: 1 } ], geo_enabled: true } --- To me, sleep_time/enabled is always false. What does the element mean and how do I enable this feature? Thanks in advance, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] how can i upload a tweet with a photo?
Hi, Example codes are packaged in the archive. Try bin/media/*.sh|cmd. Those examples use twitter4j.media.* package. https://github.com/yusuke/twitter4j/tree/master/twitter4j-examples/src/main/java/twitter4j/examples/media And please post further question to Twitter4J's mailing list as Twitter4J isn't an official library. http://twitter4j.org/en/index.html#mailingList Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Dec 17, 2010, at 16:06 , aqua wrote: hi all i am using twitter4j api, and i can upload a tweet ,but I can not find a function that upload a tweet with photo , somebody can help me? -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] is there any working code sample for oauth for twitter
Hi, Which language do you prefer? -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Dec 15, 2010, at 19:09 , kumar Gaurav wrote: i'm no where getting any working sample that teaches how to authorize for twitter. please post any code sample to get started -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: #newtwitter and the API
Got it. Thanks! -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Dec 15, 2010, at 23:57 , Taylor Singletary wrote: Hi Yusuke, We'll probably graduate the majority of these APIs to the official documentation next month. A number of them are still in active iteration. Thanks, Taylor On Tue, Dec 14, 2010 at 10:15 PM, Yusuke yus...@mac.com wrote: Hi, Is there any plan to make these new API methods available in the official document? Thanks, Yusuke On Sep 24, 2:52 am, Matt Harris thematthar...@twitter.com wrote: Thanks for all the questions and feedback everyone. Hopefully my comments below will answer your questions. Robert/Tom: The API limit for #newtwitter applies the same as other applications so the requests are deducted from the authenticated users rate limit. Ed: There are plans to allow more customisation than currently exists on twitter.com. With the new design many users may want to update their images to work with the new padding and width though. The space in the lower right is empty at the moment, but like twitter before, new features/enhancements may occupy or use it. Analytics wise there are no plans to do something like this - if it was a project what kind of things would you find useful? Dewald: The default format ofhttp://twitter.com/themattharrisis not being phased out. We just wanted to let you know the new format (with /#!) is expected, and is something apps may find users giving them. You don't need to update the links in your application unless you wish to. Brian: We intend to have entities support in results from the Search API. At the moment they are not yet supported there. Damon: the retweet and retweet_count fields are currently disabled. Some issues were identified soon after they were released which we are working through. Best, @themattharris On Thu, Sep 23, 2010 at 9:55 AM, Damon Clinkscales sca...@pobox.com wrote: Brian, Thanks for the info. retweet_count The status object now includes a retweet_count field. When enabled this field will indicate the number of times a Tweet has been retweeted using the Twitter retweet function. What does when enabled mean? I have a couple of tweets for which I am trying to find out the absolute count of retweets. All I know is that the Twitter UI says 100+ retweets. But when I pull the status objects, retweet_count is blank. These tweets are from 2 days ago. Can someone point me to the best way to find out? Thanks! /damon -- Twitter developer documentation and resources:http://dev.twitter.com/doc API updates via Twitter:http://twitter.com/twitterapi Issues/Enhancements Tracker:http://code.google.com/p/twitter-api/issues/list Change your membership to this group:http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] 4294967295
Just FYI, John Corwin should be also aware of this issue. He gave me a pull request which workarounds it. https://github.com/yusuke/twitter4j/pull/10 Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ On Dec 15, 2010, at 10:10 , Taylor Singletary wrote: Thanks! This is being looked into. I'll update when I have news. Taylor On Tuesday, December 14, 2010, Dan Checkoway dchecko...@gmail.com wrote: Yeah, you bet. Twitter4j isn't logging a timestamp when it happens, but here are a handful of timestamps for unrelated stuff that got logged no more than 10 seconds *prior* to the 4294967295 error popping out...so they're fairly close: Dec 14, 2010 12:34:11 PM PST Dec 14, 2010 1:13:07 PM PST Dec 14, 2010 1:22:48 PM PST Dec 14, 2010 1:27:22 PM PST Dec 14, 2010 1:29:48 PM PST Dec 14, 2010 1:33:36 PM PST Based on the twitter4j stack trace, I can tell you that it was *always* user.listed_count that had the funky value: Exception in thread Twitter Stream Handling Thread[Receiving stream] java.lang .NumberFormatException: For input string: 4294967295 at java.lang.NumberFormatException.forInputString(NumberFormatException. java:48) at java.lang.Integer.parseInt(Integer.java:459) at java.lang.Integer.valueOf(Integer.java:553) at twitter4j.internal.util.ParseUtil.getInt(ParseUtil.java:120) at twitter4j.UserJSONImpl.init(UserJSONImpl.java:103) Thanks, Dan On Tue, Dec 14, 2010 at 6:42 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Understandable, Dan. Can you tell me the last time an event like this happened? Taylor On Tue, Dec 14, 2010 at 3:41 PM, Dan Checkoway dchecko...@gmail.com wrote: I know this is the weenie answer, but I haven't been able to track a specific offending JSON object down yet, since it only seems to happen on the firehose, and we're using twitter4j to process that. If we were able to connect to the firehose more than once at a time, I could easily write a tool to detect and highlight the issue. Short of that, I'll try watching the sample stream for a while to see if the same issue pops up there. Will report any findings... Thanks, Dan On Tue, Dec 14, 2010 at 6:19 PM, Taylor Singletary taylorsinglet...@twitter.com wrote: Hi Dan, Do you continue to see events like this happening? Can you provide a recent example in as-provided JSON or XML? Thanks, Taylor On Tue, Dec 14, 2010 at 2:13 PM, Dan Checkoway dchecko...@gmail.com wrote: Anybody else seeing user.listed_count occasionally coming back as 4294967295? That value just happens to equate to: 1 + (2 * Integer.MAX_VALUE) Sure looks like an unsigned version of -1 to me... Anyway, it's breaking twitter4j.TwitterStream stuff. I've mentioned that separately on the twitter4j list, but I wanted to raise the issue here since the root cause is twitter sending the weird value. Thanks, Dan -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] What is is_translator element in user object?
Hi, As I stated in the subject, what is is_translator element found in user object? Thanks in advance, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] not getting unfollow and retweet event from User Stream
Hi all, I'm not getting unfollow (from me) and retweet (from me) events from User Stream now. I suppose I used to be getting that sort of events as documented. -- • Friendship Events • Created - To you, from you ... • Retweet Events • To you, from you. (Retweets from your followings are sent as the actual home timeline retweet) -- from: http://dev.twitter.com/pages/user_streams Is there any spec change that I'm missing? Thanks in advance, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter4J 2.1.8 is out - now supports ALL official APIs including Site Streams beta
Hi all, *** Twitter4J version 2.1.5 has a critical regression and it fails to generate appropriate OAuth signature. Please migrate to version 2.1.8 ** Twitter4J is an unofficial, open-sourced, mavenized and Google App Engine/Android ready Java library for the Twitter API released under the BSD license. I'm pleased to announce the immediate availability of Twitter4J version 2.1.8. This version supports all official APIs including Site Streams beta. - Download: http://twitter4j.org/en/index.html#download - Release Notes: http://tinyurl.com/T4J218 This release is also available at the Maven central repository. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/ Please refer the Support API matrix for supported methods. http://twitter4j.org/en/api-support.html Please note that Twitter4J is not sponsored or affiliated by Twitter.com. For Twtter4J specific issues/questions, please use the Twitter4J mailing list (NOT twitter-development-talk). http://twitter4j.org/en/index.html#mailingList Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter4J 2.1.7 is out - supports *ALL* available REST APIs with examples
Hi all, Twitter4J is an unofficial, open-sourced, mavenized and Google App Engine/Android ready Java library for the Twitter API released under the BSD license. I'm glad to announce the immediate availability of Twitter4J version 2.1.7. This version supports all existing REST APIs, and comes with example codes for all APIs. - Download: http://twitter4j.org/en/index.html#download - Release Notes: http://tinyurl.com/TFJ217 This release will be available at the Maven central repository shortly. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/ Please refer the Support API matrix for supported methods. http://twitter4j.org/en/api-support.html Please note that Twitter4J is not sponsored or affiliated by Twitter.com. For Twtter4J specific issues/questions, please use the Twitter4J mailing list (NOT twitter-development-talk). http://twitter4j.org/en/index.html#mailingList Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter4J 2.1.5 is out - supports production User Stream endpoint
Hi all, Twitter4J is an unofficial, open-sourced, mavenized and Google App Engine/Android ready Java library for the Twitter API released under the BSD license. I'm glad to announce the immediate availability of Twitter4J version 2.1.5. - Download: http://twitter4j.org/en/index.html#download - Release Notes: http://tinyurl.com/26bh52m It's also available at the Maven central repository. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/ Please refer the Support API matrix for supported methods. http://twitter4j.org/en/api-support.html For Twtter4J specific issues/questions, please use the Twitter4J mailing list (NOT twitter-development-talk). http://twitter4j.org/en/index.html#mailingList -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Twitter4J 2.1.3 is out - with UserStream and YFrog/TwitPic support
Hi all, Twitter4J is an unofficial, open-sourced, mavenized and Google App Engine/Android ready Java library for the Twitter API released under the BSD license. I'm glad to announce the immediate availability of Twitter4J version 2.1.3. - Download: http://twitter4j.org/en/index.html#download - Release Notes: http://samuraism.jp/blog/2010/07/24/twitter4j_2_1_3_released_with_userstream_and_yfrog_twitpic_support.html It'll be also available at the Maven central repository shortly. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/ Please refer the Support API matrix for supported methods. http://twitter4j.org/en/api-support.html For Twtter4J specific issues/questions, please use the Twitter4J mailing list (NOT twitter-development-talk). http://twitter4j.org/en/index.html#mailingList Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/
[twitter-dev] Twitter4J 2.1.2 is out - with friendships/incoming-outgoing methods support and feature-specific rate limit information
Hi all, I'm glad to announce that Twitter4J version 2.1.2 is available for download. http://twitter4j.org/en/index.html#download Twitter4J is an unofficial Java library for the Twitter API. It is also available at the Maven central repository. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/2.1.2/ Please refer the Support API matrix the supported methods. http://twitter4j.org/en/api-support.html For Twtter4J specific issues, please use the Twitter4J mailing list. http://twitter4j.org/en/index.html#mailingList Release Notes: http://samuraism.jp/blog/2010/04/19/twitter4j_2_1_2_released_with_latest_api_support.html Best regards, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en
[twitter-dev] Twitter4J 2.1.1 is out! - with Geo Methods support, improved Android compatibility and more..
Hi all, I'm glad to announce that Twitter4J version 2.1.1 is available for download. http://twitter4j.org/en/index.html#download It is also available at the Maven central repository. http://repo1.maven.org/maven2/org/twitter4j/twitter4j-core/2.1.1/ Please refer the Support API matrix the supported methods. http://twitter4j.org/en/api-support.html For Twtter4J specific issues, please use the Twitter4J mailing list. http://twitter4j.org/en/index.html#mailingList Compatibility notice: Twitter4J 2.1.x is slightly incompatible with 2.0.x or prior versions. Please refer the migration guide before you get started. http://twitter4j.org/en/versions.html#migration20x-21x Release Notes - Twitter4J - Version 2.1.1 Bug [TFJ-221] - changing the filter statement causes TwitterException [TFJ-296] - TwitterException: -1 on Android platform [TFJ-305] - retry interval seconds is unnecessarily multiplied by 1000 [TFJ-308] - UserList.isPublic() always returns false [TFJ-310] - TwitterStream methods are declared to throw TwitterException unnecessarily [TFJ-311] - TwitterStream methods are declared to throw TwitterException unnecessarily [TFJ-321] - infinite loop in TwitterStream, results 100% cpu utilization Improvement [TFJ-148] - ability to plugin logging frameworks : SLF4J / commons-logging / log4j [TFJ-260] - follow recommended re-connection policy documented in the Streaming API documentation [TFJ-271] - JAVA_HOME should not be hard-coded in setEnv.cmd [TFJ-291] - TwitterException.getStatusCode() returns -1 when the account exceeds its rate limit [TFJ-292] - clear javadoc warnings [TFJ-294] - TwitterListener better to have references of TwitterMethod fields for ease of coding [TFJ-295] - getOAuthAccessToken should throw IllegalStateException when no request token is available. [TFJ-297] - configure Twitter4J without specifying any system property [TFJ-300] - Introduce User.getStatus() deprecate all other status related getters [TFJ-301] - TwitterFactory should return strongly typed object for SpringFramwork friendliness [TFJ-307] - add bin/oauthUpdate.sh/cmd [TFJ-309] - move twitter4j.conf/http/logging/org.json to twitter4j.internal.* [TFJ-318] - OAuthAuthorization.toString() / BasicAuthorization.toString() shouldn't include consumerSecret / password in the result [TFJ-319] - twitter4j.internal.http.HttpResponse#asJSONObject calls asString() unnecessarily [TFJ-323] - getOAuthAccessToken should return a cached access token instead of throw an IllegalStateException in the case the instance is already OAuth'ed New Feature [TFJ-204] - Support locale, max_id, since and until parameter for Search API [TFJ-233] - support local trends methods [TFJ-241] - async support of list methods [TFJ-242] - async support of list subscribers methods [TFJ-243] - async support of list members methods [TFJ-302] - introduce Twitter.getScreenName() Twitter.getId() [TFJ-303] - xauth support (acquiring Access token with Basic credentials) [TFJ-306] - support links stream [TFJ-312] - streaming API example [TFJ-313] - make TwitterFactory(Configuration) public [TFJ-317] - Geo methods support [TFJ-320] - support users/lookup [TFJ-322] - support users/suggestions users/suggestions/slug Task [TFJ-222] - separate examples classes from Twitter4J core project [TFJ-225] - setup twitter4j.org [TFJ-304] - include Powered by badge in the distribution Best regards, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/ -- To unsubscribe, reply using remove me as the subject.
[twitter-dev] Twitter4J now supports xAuth!
Hi all, I'm glad to announce that now Twitter4J supports xAuth. http://twitter4j.org/jira/browse/TFJ-303 This release also includes a significant performance improvement. http://twitter4j.org/jira/browse/TFJ-319 You can download the latest stable build at: http://twitter4j.org/en/index.html#download http://twitter4j.org/maven2/org/twitter4j/twitter4j-core/2.1.1-SNAPSHOT/ Usage: 1. specify consumer key/secret combination with either twitter4j.properties or system properties Using twitter4j.properties: - oauth.consumerKey=[your app's consumer key] oauth.consumerSecret=[you app's consumer secret] - # twitter4j.properties should be located under either the default directory, the root of your classpath, or the WEB-INF/ directory Using system properties: -Dtwitter4j.oauth.consumerKey=[your app's consumer key] -Dtwitter4j.oauth.consumerSecret=[you app's consumer secret] 2. your code will go like this //get a Basic authenticated instance Twitter twitter = new TwitterFactory().getInstance(screenName, password); //and then you can get an AccessToken without user interaction AccessToken token = twitter.getOAuthAccessToken(); // production apps may want to persist the access token here twitter.updateStatus(new Date() + : xAuth test.); Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/blog/
[twitter-dev] Twitter4J supports users/lookup (AKA: bulk user show API) now
Hi all, I'm glad to announce that now Twitter4J supports users/lookup method. http://twitter4j.org/jira/browse/TFJ-303 http://twitter4j.org/en/oldjavadocs/2.1.1-SNAPSHOT/twitter4j/Twitter.html#lookupUsers(int[]) You can download the latest stable build at: http://twitter4j.org/en/index.html#download http://twitter4j.org/maven2/org/twitter4j/twitter4j-core/2.1.1-SNAPSHOT/ see also: - Twitter4J - API support matrix http://twitter4j.org/en/api-support.html Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://samuraism.jp/blog/
[twitter-dev] trends/location: number of occurrence of location element
Hi, I'm developing Twitter4J and have a quick question. Is there any chance that trends/location returns multiple location elements? Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://yusuke.homeip.net/blog/
[twitter-dev] Twitter4J 2.1.0 released - supports all available APIs, improved performance and more...
Hi all, I'm glad to announce that Twitter4J version 2.1.0 is available for download. http://twitter4j.org/en/index.html#download It is also available at the Maven central repository. http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j-core/ This release contains a lot of improvements including full Android support, better configuration scheme, improved performance and more. See the release notes for the details. Compatibility notice: This version is slightly incompatible with previous versions. Please refer the migration guide before you get started. http://twitter4j.org/en/versions.html#migration20x-21x As always, many thanks to the community! Release Notes - Twitter4J - Version 2.1.0 Bug [TFJ-206] - need to disambiguate methods showUser(integer-userid) and showUser(screen-name) [TFJ-207] - need to disambiguate methods ***ById(int id) and ***ByScreenName(String sn) [TFJ-213] - 400 bad request when using within near: or within: operator. [TFJ-215] - geo lat/long are always -1 [TFJ-228] - Unable to close a TwitterStream [TFJ-230] - DirectMessage.getSender()/getReceiver() always return null [TFJ-235] - Reply to Retweet does showe inReplyToStatusId as -1 [TFJ-236] - twitter4j.Twitter doesn't implement Serializable properly [TFJ-257] - rateLimitStatus doesn't work with OAuth [TFJ-262] - unexpected TwitterException(statusCode=-1) on Android [TFJ-282] - java.lang.IllegalArgumentExcep tion: URLDecoder: Illegal hex characters in escape (%) pattern - For input string: s Improvement [TFJ-162] - use json to reduce computing / network footprint [TFJ-217] - geo location as a class [TFJ-219] - support improved retweet format [TFJ-224] - verifyCredentials: clarify when TwitterException will be thrown [TFJ-234] - cursor-based pagination for statuses/friends and statuses/followers. [TFJ-239] - rate limit status as a class [TFJ-240] - retire featured method [TFJ-244] - introduce a constant type class - TwitterMethod for AsyncTwitter exception handling [TFJ-245] - typo: deliverlyDevice - deliveryDevice [TFJ-246] - retire async methods that don't take TwitterListener [TFJ-250] - add handy setter methods to Query class that returns itself to make it possible to generate a query instance in one line [TFJ-253] - methods that are API rate limited but are not requiring authentication need to pass credentials (if availalbe) to get whitelisted properly [TFJ-261] - introduce interface set which contain pre-categorized method set [TFJ-263] - define interfaces per method sets [TFJ-264] - rename ratelimitStatus() to getRateLimitStatus(), ratelimitStatusAsync() to getRateLimitStatusAsync() [TFJ-266] - mask Basic Authentication header in the debug output [TFJ-267] - be ready for the new search api response code [TFJ-273] - use SSL by default when Basic Authentication is enabled. [TFJ-274] - ability to specify streaming api specific http read timeout value [TFJ-276] - introduce Interfaces for data objects [TFJ-277] - extract interfaces from data objects [TFJ-278] - ensure *JSONImpl are treating all fields as optional [TFJ-279] - User.getProfileBackgroundTile() should return boolean [TFJ-283] - retire Device#IM as IM is not a supported notification device anymore [TFJ-284] - separate AsyncTwitter from Twitter New Feature [TFJ-50] - support update_profile_image method [TFJ-51] - support update_profile_background_image method [TFJ-152] - introduce a listener interface that can grab http responses [TFJ-171] - listener for rate limit status changes [TFJ-210] - ability to handle streaming api's deletion and limitation notices [TFJ-214] - list API support [TFJ-223] - support spam reporting API [TFJ-226] - use versioned URL [TFJ-227] - introduce a tiny utility class that produces a minutes ago like strings from Date objects [TFJ-229] - ability to get Retry-After info [TFJ-231] - introduce more flexible configuration scheme, make Twitter class immutable [TFJ-237] - support list members methods [TFJ-238] - support list subscribers methods [TFJ-248] - support friendships/show [TFJ-249] - support users/search [TFJ-270] - include geo location info in the search result [TFJ-280] - ability to configure baseURLs [TFJ-289] - async support spam reporting API [TFJ-290] - async support of support users/search API Task [TFJ-113] - retire deprecated methods [TFJ-220] - remove User#sendDirectMessage() [TFJ-225] - setup twitter4j.org [TFJ-255] - remove getPublicTimeline(long sinceId) as the parameter is not documented anymore [TFJ-256] - deprecate(or remove?) getFriendsTimeline() [TFJ-258] - Streaming API example [TFJ-265] - ensure AsyncTwitter class is truly serializable Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://yusuke.homeip.net/blog/
[twitter-dev] Twitter4J 2.1.0-SNAPSHOT build now supports list members/subscribers methods
Hi all, I'm glad to announce that the Twitter4J latest SNAPSHOT build now supports list members/subscribers methods. Please note that twitter4j.List class has been renamed to twitter4j.UserList to avoid class-name confliction with java.util.List. - Download twitter4j-2.1.0-SNAPSHOT.zip http://yusuke.homeip.net/twitter4j/en/index.html#download - Migration guide from version 2.0.10 to 2.1.0 http://yusuke.homeip.net/twitter4j/en/javadoc.html#migration - 2.1.0-SNAPSHOT JavaDoc http://yusuke.homeip.net/twitter4j/en/oldjavadocs/2.1.0-SNAPSHOT/index.html - JavaDoc diff from version 2.0.10 http://yusuke.homeip.net/twitter4j/en/oldjavadocs/2.0.10-2.1.0-SNAPSHOT/changes.html - Direction how to use the snapshot build with your project. http://yusuke.homeip.net/twitter4j/en/index.html#maven - API support matrix http://yusuke.homeip.net/twitter4j/en/api-support.html Please feel free to post any Twitter4J specific questions/suggestions to twitte...@googlegroups.com Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://yusuke.homeip.net/blog/
[twitter-dev] Twitter4J 2.1.0-SNAPSHOT now supports update_profile_image and update_profile_background_image
Hi all, Twitter4J latest SNAPSHOT build now supports image upload APIs. Some refactors have also been made. Please consult the migration guide first when you have any problem. - Download twitter4j-2.1.0-SNAPSHOT.jar http://yusuke.homeip.net/twitter4j/en/index.html#download - How to migrate from version 2.0.10 to 2.1.0 http://yusuke.homeip.net/twitter4j/en/javadoc.html#migration - 2.1.0-SNAPSHOT JavaDoc http://yusuke.homeip.net/twitter4j/en/oldjavadocs/2.1.0-SNAPSHOT/index.html - JavaDoc diff from version 2.0.10 http://yusuke.homeip.net/twitter4j/en/oldjavadocs/2.0.10-2.1.0-SNAPSHOT/changes.html - in-house maven repository http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/2.1.0-SNAPSHOT/ - Direction how to use the snapshot build with your project. http://yusuke.homeip.net/twitter4j/en/index.html#maven - API support matrix http://yusuke.homeip.net/twitter4j/en/api-support.html Please feel free to post questions/suggestions to twitte...@googlegroups.com Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://yusuke.homeip.net/blog/
[twitter-dev] Twitter4J 2.1.0-SNAPSHOT now supports list methods / cursor-based pagination with statuses/friends and statuses/followers
Hi all, I have just published the latest SNAPSHOT build which supports list methods and cursor-based paginations. Lots of refactorings have been made from version 2.0.10, and I scribbled some migration tips. Hope it helps. - How to migrate from version 2.0.10 to 2.1.0 http://yusuke.homeip.net/twitter4j/en/javadoc.html#migration - JavaDoc http://yusuke.homeip.net/twitter4j/en/oldjavadocs/2.1.0-SNAPSHOT/index.html - JavaDoc diff from version 2.0.10 http://yusuke.homeip.net/twitter4j/en/oldjavadocs/2.0.10-2.1.0-SNAPSHOT/changes.html - in-house maven repository http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/2.1.0-SNAPSHOT/ - Direction how to use the snapshot build with your project. http://yusuke.homeip.net/twitter4j/en/index.html#maven - API support matrix http://yusuke.homeip.net/twitter4j/en/api-support.html Most of the List API support have done by Dan Checkoway! Many thanks, Dan! -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://yusuke.homeip.net/blog/
[twitter-dev] Twitter4J 2.1.0-SNAPSHOT now supports official RetweetMethods, performs better, works better on Android
Hi all, I finally managed to get Twitter4J using JSON APIs. There have been performance and character omission problems on Android platform. Now they're gone. Please give it a try and let me know if you found anything wrong. - JavaDoc http://yusuke.homeip.net/twitter4j/en/oldjavadocs/2.1.0-SNAPSHOT/index.html - JavaDoc diff from version 2.0.10 http://yusuke.homeip.net/twitter4j/en/oldjavadocs/2.0.10-2.1.0-SNAPSHOT/changes.html - in-house maven repository http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/2.1.0-SNAPSHOT/ - Direction how to use the snapshot build with your project. http://yusuke.homeip.net/twitter4j/en/index.html#maven Follow t4j_news for the latest updates! http://twitter.com/t4j_news What's next? See the priority list. http://yusuke.homeip.net/jira/secure/IssueNavigator.jspa?mode=hiderequestId=10010 Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://yusuke.homeip.net/blog/
[twitter-dev] Twitter4J 2.0.10 released - supports geo location API, retweet APIs, sign in with Twitter ...
Hi all, Twitter4J 2.0.10 is available for download. http://yusuke.homeip.net/twitter4j/en/index.html#download It is(or will be) also available at the Maven central repository. http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/ Snapshot builds can be found at: http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/ This release contains support for incoming geo location API, and retweet APIs. Please note that geo location API, and retweet APIs are not publicly available yet and those features are not properly tested. You can start developing applications using those APIs, but it is strongly suggested to disable the feature until those new APIs go live. As always, many thanks to the community members! Release Notes - Twitter4J - Version 2.0.10 - HTML format Bug [TFJ-191] - getFriendsStatus shouldn't require authentication [TFJ-196] - NullPoinerException in Response class on android platform [TFJ-202] - multibyte characters don't show on Android platform [TFJ-203] - /WEB-INF/twitter4j.properties never gets loaded [TFJ-205] - NullPoinerException in HttpClient.equals() [TFJ-212] - NullPoinerException in Trend#hashCode() and toString() Improvement [TFJ-192] - TwitterStream needs a default constructor [TFJ-209] - support new streaming API paths New Feature [TFJ-93] - SSL support [TFJ-188] - support Sign in with Twitter [TFJ-194] - support retweet methods [TFJ-195] - support home_timeline method [TFJ-197] - support geo location API [TFJ-211] - getFollowersIDs() and getFriendsIDs() need to support cursor based pagination Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://yusuke.homeip.net/blog/
[twitter-dev] Twitter4J 2.0.9 released - introduces tons of bugs, and lots of new features including Android support
Hi all, Twitter4J 2.0.9 is available for download. http://yusuke.homeip.net/twitter4j/en/index.html#download It is(or will be) also available at the Maven central repository. http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/ Snapshot builds can be found at: http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/ Release Notes - Twitter4J - Version 2.0.9 - HTML format Bug [TFJ-167] - push style streaming thread quits with IOException [TFJ-173] - is mapped to \\u0022 [TFJ-175] - Streaming API now requires comma separated follow parameter [TFJ-181] - ExceptionInInitializationError on Android platforms [TFJ-187] - SerializationException with twitter4j.http.OAuth [TFJ-189] - TwitterException with streaming API : twitter4j.TwitterException: JSONObject[id] not found with streaming api Improvement [TFJ-174] - inconsistent method names in User Methods [TFJ-177] - the scope of the junit dependencies in the pom should be set to test [TFJ-178] - getPublicTimeline(int sinceID) should take long sinceId [TFJ-179] - scope of junit should be test, not compile [TFJ-180] - http://twitter.com/statuses/friends_timeline/userId.xml is not supported anymore [TFJ-182] - ExceptionInInitializerError with Java applets [TFJ-183] - method name refactor: RateLimitStatus.getDateTime() - RateLimitStatus.getResetTime() New Feature [TFJ-163] - introduce twitter4j.properties that overrides default properties [TFJ-170] - dynamic callback support [TFJ-176] - Streaming API : support track method Task [TFJ-184] - refactor: some fields in HttpClient can be static [TFJ-190] - slf4j, and rome are not required libraries, scope in pom.xml should be provided instead of compile Cheers, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://yusuke.homeip.net/blog/
[twitter-dev] Re: [Twitter4J] Twitter4J 2.0.9 released - introduces tons of bugs, and lots of new features including Android support
Versoin 2.0.9 is not meant to introduce tons of bugs, it actually *fixes* tons of bugs of course. -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://yusuke.homeip.net/blog/ On 2009/07/30, at 2:16, Yusuke Yamamoto wrote: Hi all, Twitter4J 2.0.9 is available for download. http://yusuke.homeip.net/twitter4j/en/index.html#download It is(or will be) also available at the Maven central repository. http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/ Snapshot builds can be found at: http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/ Release Notes - Twitter4J - Version 2.0.9 - HTML format Bug [TFJ-167] - push style streaming thread quits with IOException [TFJ-173] - is mapped to \\u0022 [TFJ-175] - Streaming API now requires comma separated follow parameter [TFJ-181] - ExceptionInInitializationError on Android platforms [TFJ-187] - SerializationException with twitter4j.http.OAuth [TFJ-189] - TwitterException with streaming API : twitter4j.TwitterException: JSONObject[id] not found with streaming api Improvement [TFJ-174] - inconsistent method names in User Methods [TFJ-177] - the scope of the junit dependencies in the pom should be set to test [TFJ-178] - getPublicTimeline(int sinceID) should take long sinceId [TFJ-179] - scope of junit should be test, not compile [TFJ-180] - http://twitter.com/statuses/friends_timeline/ userId.xml is not supported anymore [TFJ-182] - ExceptionInInitializerError with Java applets [TFJ-183] - method name refactor: RateLimitStatus.getDateTime() - RateLimitStatus.getResetTime() New Feature [TFJ-163] - introduce twitter4j.properties that overrides default properties [TFJ-170] - dynamic callback support [TFJ-176] - Streaming API : support track method Task [TFJ-184] - refactor: some fields in HttpClient can be static [TFJ-190] - slf4j, and rome are not required libraries, scope in pom.xml should be provided instead of compile Cheers, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/tweetable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://yusuke.homeip.net/blog/
[twitter-dev] sending direct messages from API fails randomly
Hi, Twitter4J has a following test case and it started to fail approximately 24 hours ago. 1. there are two users - twit4j and twit4j2 2. twit4j follows twit4j2 http://twitter.com/friendships/create/twit4j2.xml 3. twit4j2 follows twit4j http://twitter.com/friendships/create/twit4j.xml 4. sending a direct message from twit4j to twit4j2 fails with 403 Forbidden(You cannot send messages to users who are not following you.). http://twitter.com/direct_messages/new.xml I'm attaching a debug log. I couldn't find any open issues in the list. But is this a known one? It'll be nice if the API team can integrate my test cases which hits API regressions frequently. Running the test cases is as simple as: $ svn checkout http://yusuke.homeip.net/svn/twitter4j/trunk twitter4j $ mvn install Cheers, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/twittable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me at : http://yusuke.homeip.net/blog/ [Sat Jul 04 00:55:46 JST 2009]Request: [Sat Jul 04 00:55:46 JST 2009]POST http://twitter.com/friendships/create/twit4j2.xml [Sat Jul 04 00:55:46 JST 2009]OAuth base string:POSThttp%3A%2F%2Ftwitter.com%2Ffriendships%2Fcreate%2Ftwit4j2.xmloauth_consumer_key%3DcoJhWe2wD0plkGfYBAsfg%26oauth_nonce%3D48714%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1246636546%26oauth_token%3D6358482-wwqkzmI3YOmM0JwouHCLd1rvuUJVf0QA5VD0s7Y04M%26oauth_version%3D1.0 [Sat Jul 04 00:55:46 JST 2009]OAuth signature:bYC8ZxKH4E2acL89pstLL/nr+j0= [Sat Jul 04 00:55:46 JST 2009]Authorization: OAuth oauth_consumer_key=coJhWe2wD0plkGfYBAsfg,oauth_signature_method=HMAC-SHA1,oauth_timestamp=1246636546,oauth_nonce=48714,oauth_version=1.0,oauth_token=6358482-wwqkzmI3YOmM0JwouHCLd1rvuUJVf0QA5VD0s7Y04M,oauth_signature=bYC8ZxKH4E2acL89pstLL%2Fnr%2Bj0%3D [Sat Jul 04 00:55:46 JST 2009]X-Twitter-Client-URL: http://yusuke.homeip.net/twitter4j/en/twitter4j-undefined.xml [Sat Jul 04 00:55:46 JST 2009]User-Agent: twitter4j http://yusuke.homeip.net/twitter4j/ /undefined [Sat Jul 04 00:55:46 JST 2009]Accept-Encoding: gzip [Sat Jul 04 00:55:46 JST 2009]X-Twitter-Client-Version: undefined [Sat Jul 04 00:55:46 JST 2009]Post Params: [Sat Jul 04 00:55:46 JST 2009]Response: [Sat Jul 04 00:55:46 JST 2009]Status: 403 Forbidden [Sat Jul 04 00:55:46 JST 2009]X-Transaction: 1246636546-37594-20498 [Sat Jul 04 00:55:46 JST 2009]HTTP/1.1 403 Forbidden [Sat Jul 04 00:55:46 JST 2009]Set-Cookie: _twitter_sess=BAh7CToJdXNlcmkD0gVhOhNwYXNzd29yZF90b2tlbiItZmZlMmE2ZTlkMzg3%250AYTFkZjk5ODM0NTY0NTQ0OGViNmU5MTgzYjc0YzoHaWQiJTdhNzQ3M2M5M2Ex%250AOWM5YmM3MTU4MGVjYTBlNjgwMjVmIgpmbGFzaElDOidBY3Rpb25Db250cm9s%250AbGVyOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--e2387eceeea3d2907c22b93a236054d0afe7b0f3; domain=.twitter.com; path=/ [Sat Jul 04 00:55:46 JST 2009]Set-Cookie: lang=en; path=/ [Sat Jul 04 00:55:46 JST 2009]Set-Cookie: lang=en; path=/ [Sat Jul 04 00:55:46 JST 2009]Date: Fri, 03 Jul 2009 15:55:46 GMT [Sat Jul 04 00:55:46 JST 2009]Pragma: no-cache [Sat Jul 04 00:55:46 JST 2009]Content-Type: application/xml; charset=utf-8 [Sat Jul 04 00:55:46 JST 2009]Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0 [Sat Jul 04 00:55:46 JST 2009]X-Revision: 010382b250edb838a5150b55e06469f866883024 [Sat Jul 04 00:55:46 JST 2009]Connection: close [Sat Jul 04 00:55:46 JST 2009]Content-Length: 161 [Sat Jul 04 00:55:46 JST 2009]Content-Encoding: gzip [Sat Jul 04 00:55:46 JST 2009]Expires: Tue, 31 Mar 1981 05:00:00 GMT [Sat Jul 04 00:55:46 JST 2009]Server: hi [Sat Jul 04 00:55:46 JST 2009]Last-Modified: Fri, 03 Jul 2009 15:55:46 GMT [Sat Jul 04 00:55:46 JST 2009]Vary: Accept-Encoding [Sat Jul 04 00:55:46 JST 2009]?xml version=1.0 encoding=UTF-8? hash request/friendships/create/twit4j2.xml/request errorCould not follow user: twit4j2 is already on your list./error /hash [Sat Jul 04 00:55:46 JST 2009]Request: [Sat Jul 04 00:55:46 JST 2009]POST http://twitter.com/friendships/create/twit4j.xml [Sat Jul 04 00:55:46 JST 2009]OAuth base string:POSThttp%3A%2F%2Ftwitter.com%2Ffriendships%2Fcreate%2Ftwit4j.xmloauth_consumer_key%3DcoJhWe2wD0plkGfYBAsfg%26oauth_nonce%3D-273835297%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1246636546%26oauth_token%3D6377362-kW0YV1ymaqEUCSHP29ux169mDeA4kQfhEuqkdvHk%26oauth_version%3D1.0 [Sat Jul 04 00:55:46 JST 2009]OAuth signature:GgynK2rEdArxDEH9xK4YoWfuVKw= [Sat Jul 04 00:55:46 JST 2009]Authorization: OAuth oauth_consumer_key=coJhWe2wD0plkGfYBAsfg,oauth_signature_method=HMAC-SHA1,oauth_timestamp=1246636546,oauth_nonce=-273835297,oauth_version=1.0,oauth_token=6377362-kW0YV1ymaqEUCSHP29ux169mDeA4kQfhEuqkdvHk,oauth_signature=GgynK2rEdArxDEH9xK4YoWfuVKw%3D [Sat Jul 04 00:55:46 JST 2009]X-Twitter-Client-URL: http://yusuke.homeip.net/twitter4j/en/twitter4j-undefined.xml [Sat Jul 04 00:55:46 JST 2009]User-Agent: twitter4j http://yusuke.homeip.net/twitter4j/ /undefined [Sat Jul 04 00:55:46
[twitter-dev] Twitter4J 2.0.8 released - fixes Twitpocalypse issue, supports saved searches methods, support PIN based OAuth
Hi all, Twitter4J 2.0.8 is available for download. http://yusuke.homeip.net/twitter4j/en/index.html#download It is(or will be) also available at the Maven central repository. http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/ Snapshot builds can be found at: http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/ It is known that Twitpocalypse impacts Twitter4J. http://yusuke.homeip.net/jira/browse/TFJ-172 All projects using Twitter4J are encouraged to migrate to this version immediately. Release Notes - Twitter4J - Version 2.0.8 - HTML format Bug [TFJ-165] - *.cmd fails with 'C:\Program' is not recognized as an internal or external command, [TFJ-166] - GetTimelines.cmd fails with java.lang.NoClassDefFoundError: twitter4j/examples/AsyncExample [TFJ-172] - Twitpocalypse issue: NumberFormatException New Feature [TFJ-164] - support Saved Searches Methods [TFJ-169] - OAuth 1.0a: desktop clients need to send oauth_verifier (pin) to get OAuth Access Token Cheers, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/twittable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me : http://yusuke.homeip.net/blog/
[twitter-dev] Twitter4J 2.0.8-SNAPSHOT available - supports OAuth1.0a / PIN-based authentication
Hi all, A snapshot build of Twitter4J 2.0.8 is available. http://yusuke.homeip.net/hudson/job/Twitter4J/212/net.homeip.yusuke$twitter4j/ http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/2.0.8-SNAPSHOT/ This version supports PIN-based authentication shipped with OAuth1.0a. http://groups.google.com/group/twitter-api-announce/browse_frm/thread/472500cfe9e7cdb9?hl=en There's no impact with OAuth1.0a on existing browser clients. But desktop clients using Twitter4J with OAuth authentication need to migrate to this version immediately in order to allow users to input pin upon Access Token retrieval. This is a snapshot build, however existing automated test cases passed successfully and it should be stable enough to put in production environments. Twitter4J 2.0.8 will be generally available in the maven central repository in a few days with small bug fixes. Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/twittable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me : http://yusuke.homeip.net/blog/
[twitter-dev] Twitter4J 2.0.7 released
Hi all, Twitter4J 2.0.7 is available for download. http://yusuke.homeip.net/twitter4j/en/index.html#download It is(or will be) available at the Maven central repository. http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/ Snapshot builds can be found at: http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/ This is a maintenance release with no new features. Release Notes - Twitter4J - Version 2.0.7 - HTML format Bug [TFJ-161] - OAuth AccessToken missing screen name Task [TFJ-159] - getUserTimeline(String id, int count, long sinceId) should be deprecated [TFJ-160] - fix build.xml to include twitter4j.properties Cheers, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable/twittable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto subscribe me : http://yusuke.homeip.net/blog/
[twitter-dev] Twitter4J 2.0.6 released
Hi all, Twitter4J 2.0.6 is available for download. http://yusuke.homeip.net/twitter4j/en/index.html#download It is(or will be) available at the Maven central repository. http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/ Snapshot builds can be found at: http://yusuke.homeip.net/maven2/net/homeip/yusuke/twitter4j/ This is a maintenance release with no new features. Release Notes - Twitter4J - Version 2.0.6 - HTML format 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 Thanks, -- Yusuke Yamamoto yus...@mac.com this email is: [x] bloggable [ ] ask first [ ] private follow me on : http://twitter.com/yusukeyamamoto
[twitter-dev] Twitter4J 2.0.4 released - added Streaming API support fixed OAuth compatibility issue
Hi all, Twitter4J 2.0.4 is available for download. http://yusuke.homeip.net/twitter4j/en/index.html#download It's also available at the Maven central repository. http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/ 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 ListUser instead of ExtendedUser, or ListExtendedUser: 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 Please read the above document from top to bottom carefully before you dive into TwitterStream. Note that the Streaming API is subject to change. Release Notes - Twitter4J - Version 2.0.4 - HTML format Bug [TFJ-142] - DocumentBuilder.parse is not thread safe : NullPointerException at AbstractDOMParser.startElement [TFJ-145] - twitter4j.http.Response shouldn't be Serializable [TFJ-146] - getUserDetail should be invocable from unauthenticated Twitter instances [TFJ-149] - OAuth fails with Invalid / expired Token after May 13, 2009 Improvement [TFJ-147] - retire ExtendedUser and UserWithStatus New Feature [TFJ-139] - streaming API support beta [TFJ-144] - Add methods to retrieve blocking information Task [TFJ-143] - Deprecation of following and notification elements Have fun! -- Yusuke Yamamoto yus...@mac.com follow me at http://twitter.com/yusukeyamamoto
[twitter-dev] Twitter4J 2.0.3 released - fixed JDK1.4.2 / Processing compatibility issue
Hi all, Twitter4J 2.0.3 is available for download. http://yusuke.homeip.net/twitter4j/en/index.html#download It'll be available at the Maven central repository in 24 hours. 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/ No new feature has been introduced in the release. Projects using search/trends API, or running on JDK1.4.x need to migrate to this version. 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 Thank you all for supporting Twitter4J. I'm looking forward to hearing your feedbacks :) Cheers, -- Yusuke Yamamoto yus...@mac.com Follow me on : http://twitter.com/yusukeyamamoto
[twitter-dev] Twitter4J 2.0.2 released - adding trends api support, gzip support for faster performance
Hi all, I'm glad to announce that Twitter4J 2.0.2 is now available for download. http://yusuke.homeip.net/twitter4j/en/index.html#download It'll be available at the Maven central repository in 24 hours. 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, or 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's the list of fixes included in Twitter4J 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 Cheers, -- Yusuke Yamamoto yus...@mac.com
[twitter-dev] Twitter4J 2.0.0 released, supports OAuth authorization scheme
Hi all, I'm glad to announce that Twitter4J 2.0.0 is now available. http://yusuke.homeip.net/blog/2009/04/19/twitter4j_2_0_0_released_now_officially_supports_oauth_authorization_scheme.html Twitter4J is an open-sourced, mavenized and Google App Engine safe Java library for the Twitter API which is released under the BSD license. This version is already available in the Maven central repository. http://repo1.maven.org/maven2/net/homeip/yusuke/twitter4j/ Finally, Twitter4J supports OAuth authorization scheme. Projects depending on Twitter4J are encouraged to migrate to the latest version to support OAuth. Best regards, -- Yusuke Yamamoto yus...@mac.com
[twitter-dev] Re: count parameter need to be documented
Thanks for the clarification! -- Yusuke Yamamoto yus...@mac.com On 2009/04/20, at 0:55, Chris Thomson wrote: Yusuke, The REST API Documentation page is being phased out and is being replaced by the much simpler http://apiwiki.twitter.com/Twitter-API-Documentation (which links to all of the correct Twitter-REST-API-Method pages). Doug, perhaps you should remove the contents of the older page and link it to the newer one, to prevent confusion with future API changes? -Chris Thomson 2009/4/19 Yusuke yus...@mac.com Hi, I found that actually it is inconsistently documented. - user_timeline Not yet documented. max is unknown. It is documented here, http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses-user_timeline But not here, http://apiwiki.twitter.com/REST+API+Documentation#statuses/ usertimeline - friends_timeline Documented. max is 200. - direct_messages.xml Not yet documented. max is 100. issue#115 Documented here: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-direct_messages But not here: http://apiwiki.twitter.com/REST+API+Documentation#directmessages - direct_messages/sent.xml Not yet documented. max is 100. issue#115 Not yet documented: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A- direct_messages sent # the URL looks to be wrong. should be http://twitter.com/direct_messages/sent.format http://apiwiki.twitter.com/REST+API+Documentation#directmessages/sent - statuses/mentions.xml Not yet documented. max is unknown. Documented here: http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-statuses- mentions But not here: http://apiwiki.twitter.com/REST+API+Documentation#statuses/mentions Thanks, Yusuke On 4月19日, 午後11:55, Yusuke yus...@mac.com wrote: Hi, AFAIK, count parameter is technically supported with several methods and it used to be documented. But now it's documented only with statuses/friends_timeline. According to the recent activities on the issue list, it seems to be still officially supported other than friends_timeline. - direct_messageshttp://code.google.com/p/twitter-api/issues/detail?id=115 - replies (mentions)http://code.google.com/p/twitter-api/issues/detail?id=235 Do you guys have any plan to document it soon? I confirmed that following methods support count parameter: - user_timeline Not yet documented. max is unknown. - friends_timeline Documented. max is 200. - direct_messages.xml Not yet documented. max is 100. issue#115 - direct_messages/sent.xml Not yet documented. max is 100. issue#115 - statuses/mentions.xml Not yet documented. max is unknown. - statuses/repliess.xml Not yet documented. max is unknown. Thanks in advance, Yusuke