Hot answers tagged

4

This currently does not work with the v2.0 API.


3

The StackWrap4J library is very obsolete. Its page states: The latest build was tested against version 1.0 of the API on July 28th. But API version 1 has been shut down for quite a while. The API is currently at version 2.2. Choose a different library. The list is at stackapps.com/questions/tagged/library+java. Choose one that supports API version 2....


3

OK, well, I've pretty much confirmed that A LOT has changed with version 2.0... the new release does not appear to be backwards compatible with version 1.1 at all. Kind of annoying if you ask me. For now I'm going to modify StackWrap4J myself and just copy and paste the modified source code into my app... if anyone is interested in partnering up to extend ...


2

Vineet, Try below one, I have added support for Stack Exchange API V2.x https://github.com/sanjivsingh/stackoverflow-java-sdk For more detail, follow docs https://github.com/sanjivsingh/stackoverflow-java-sdk/wiki


2

stackoverflow-java-sdk artifacts have been upload to Maven Central. Now, You simply add maven dependency in your project POM Dependency <dependency> <groupId>com.googlecode.stackexchange</groupId> <artifactId>stackoverflow-java-sdk-release</artifactId> <version>2.2.0</version> </...


2

a few questions i have about your API. based on the user can I get a list of all questions and answers the user has? giving a user can I get a List<Questions> and List<Answer> that the user has made? will the answer object have the following methods: Answer.addPlus() Answer.removePlus() Answer.addNegitive() Answer.removeNegitive() Answer....


2

Stack Exchange's implementation of OAuth 2.0 is modeled after Facebook's. While I haven't used Scribe, presumably their Facebook example is the relevant.


1

The API responses are always compressed and the default compression is GZIP. This means that you must use the proper GZIP-handling libraries to fetch the data. So, instead of: BufferedReader in = new BufferedReader (new InputStreamReader ( yc.getInputStream () )); You would use something more like: BufferedReader in = new BufferedReader (new ...


1

You can try below java wrapper, notification support is there. https://github.com/sanjivsingh/stackoverflow-java-sdk For more detail, follow docs https://github.com/sanjivsingh/stackoverflow-java-sdk/wiki Query Example : StackExchangeApiQueryFactory queryFactory = StackExchangeApiQueryFactory.newInstance( applicationKey, accessToken,StackExchangeSite....


1

Bug The link to the user profile is wrong: http://http://api.stackoverflow.com/users/22656 (should be http://api.stackoverflow.com/users/22656 http://stackoverflow.com/users/22656). Screenshot:


Only top voted, non community-wiki answers of a minimum length are eligible