<< Twitter4J 2.1.3 released - with UserStream and YFrog/TwitPic support | Home | Twitter4J 2.1.8 released - now supports ALL official APIs >>

Twitter4J 2.1.7 released - supports ALL existing REST APIs

Twitter4J is an open-sourced, mavenized and Google App Engine/Android ready Java library for the Twitter API which is released under the BSD license.

Twitter4J 2.1.7 is now available for download.
This version supports all existing REST APIs, and comes with example codes for all APIs.


This version is also available in the Maven central repository.
http://repo1.maven.org/maven2/org/twitter4j/
You can also use the snapshot repository.
http://twitter4j.org/maven2/org/twitter4j/

Release Notes - Twitter4J - Version 2.1.7

Bug

  • [TFJ-408] - Twitter.getLocationTrends(int woeid) throws twitter4j.internal.org.json.JSONException for some woeids
  • [TFJ-412] - twitter4j-httpclient-support doesn't respect HTTP timeout parameters
  • [TFJ-420] - Searching for phrases with a whitespace leads 401 unauthorized

Improvement

  • [TFJ-372] - UserStream: support replies=all option
  • [TFJ-410] - java.lang.SecurityException in ConfigurationBase
  • [TFJ-411] - warn that Proxy is not supported with the default HTTPClient implementation on JDK1.4.2

New Feature

  • [TFJ-366] - support GET users/profile_image/:screen_name method
  • [TFJ-398] - UserStream example
  • [TFJ-413] - support legal resources
  • [TFJ-414] - support POST :user/:list_id/create_all
  • [TFJ-415] - support GET geo/search
  • [TFJ-416] - support geo/similar_places
  • [TFJ-417] - support POST geo/place
  • [TFJ-419] - introduce stream connection lifecycle listener
  • [TFJ-421] - add TwitterStream handling multiple Listener capability
  • [TFJ-422] - provide access to raw JSON strings
  • [TFJ-445] - ability to get response headers from TwitterException

Task

  • [TFJ-399] - example classes need to migrate to OAuth
  • [TFJ-423] - Tweets Resources examples
  • [TFJ-424] - User Resources examples
  • [TFJ-425] - Trends Resources examples
  • [TFJ-426] - Local Trends Resources examples
  • [TFJ-427] - List Resources examples
  • [TFJ-428] - List Members Resources examples
  • [TFJ-429] - List Subscribers Resources examples
  • [TFJ-430] - Direct Message Resources examples
  • [TFJ-431] - Friendship Resources examples
  • [TFJ-432] - Friends and Followers Resources examples
  • [TFJ-433] - Account Resources examples
  • [TFJ-434] - Favorite Resources examples
  • [TFJ-435] - Notification Resources examples
  • [TFJ-436] - Block Resources examples
  • [TFJ-437] - Spam Reporting Resources example
  • [TFJ-438] - Saved Searches Resources examples
  • [TFJ-439] - Geo Resources examples
  • [TFJ-440] - Legal Resources examples
  • [TFJ-441] - Help Resource examples
  • [TFJ-442] - Streamed Tweets Resources examples
  • [TFJ-443] - Search API Resources examples
  • [TFJ-444] - httpclient-support compilation fails: ThreadSafeClientConnManager#setMaxTotalConnections() is now setMaxTotal()


Re: Twitter4J 2.1.7 released - supports ALL existing REST APIs

Hi Yusuke,

I'm trying to use your code for tweeter status update. I successfully get access token and access token secret, but then program reports following error message:

401:Authentication credentials were missing or incorrect.
{"request":"\/1\/statuses\/update.json","error":"Read-only application cannot POST"}
TwitterException{exceptionCode=[15bb6564-00e71bfd], statusCode=401, retryAfter=0, rateLimitStatus=null, version=2.1.7-SNAPSHOT(build: e286baacaf252f8c4786d5f9598a7cd8267a700d)}
    at twitter4j.internal.http.HttpClientImpl.request(HttpClientImpl.java:311)
    at twitter4j.internal.http.HttpClientWrapper.request(HttpClientWrapper.java:72)
    at twitter4j.internal.http.HttpClientWrapper.post(HttpClientWrapper.java:103)
    at twitter4j.Twitter.updateStatus(Twitter.java:505)
    at com.yoterra.twitter.UpdateStatus.main(UpdateStatus.java:74)

I even changed application to read&write configuration, but I still get the same message. Could you please help me.

Thanks,

Biljana

Re: Twitter4J 2.1.7 released - supports ALL existing REST APIs

Good love makes <a href="http://www.balenciagabag.co.uk/" title="Balenciaga Bags">balenciaga bags</a> see the whole world from one person while bad love makes <a href="http://www.balenciagabag.co.uk/" title="Balenciaga UK">balenciaga uk</a> abandon the whole world for one person.

 

 

Re: Twitter4J 2.1.7 released - supports ALL existing REST APIs

An unacceptable <a href="http://www.hermesbag.org.uk/" title="Hermes Bag">hermes bag</a> needs no sorrow but time- sometime for forgetting. A badly-hurt <a href="http://www.hermesbag.org.uk/" title="Hermes UK">hermes uk</a> needs no sympathy but understanding.

 

 

Gucci outlet

It is a great buy if you are planning to go on the ultimate hiking trip with your buddies. If you can't, then maybe the item is simply not available online at that price - it happens

Air yeezy glow in the dark

Svift Jordan 1 The air holes visible and observable heel give any adequate security ft., with a higher impact and energetic, making the books all round the shoe fall on coming to be a good deal lighter . through the website, I like more white and metallic silver one in my individual point of view. In color, it is very simple but elegant. In addition, printing an elephant on top belonging to tap toe heel that although the back, it would not be an ordinary bargain. http://www.airyeezy2-online.org/ Air yeezy glow in the dark

Re: Twitter4J 2.1.7 released - supports ALL existing REST APIs

This is my first visit to this website. We are starting a new initiative in the same niche as this blog. Your blog provided us with important information to work on. You have done a marvellous job.

Re: Twitter4J 2.1.7 released - supports ALL existing REST APIs

The empowering side does not contain one and only kind of code, yet it includes distinctive ones. Leading all it is HTML code, which makes a structure in which to implant CSS (Cascading Style Sheets) or programming dialects, for example, PHP. As such HTML is utilized to structure the substance on the page, while CSS permits treating your site content and its style independently and programming dialects convey directions to the machine.See more write my essay this web. It provide you all sides guidness.

Re: Twitter4J 2.1.7 released - supports ALL existing REST APIs

Guar protein offer a wide selection of products for your specific requirements. Established in the year 2008, we are one of the leading Manufacturer, Exporter and Supplier of Compound Guar Protein Meal Feeds and Poultry Feeds.
Guar korma
animal feeds
Food grade korma manufacturer

Re: Twitter4J 2.1.7 released - supports ALL existing REST APIs

Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog rental mobil . I am sure my visitors will find that very useful

Add a comment Send a TrackBack