Who said OAuth/OAuth2 was difficult? Configuring scribe is so easy your grandma can do it! check it out:
OAuthService service = new ServiceBuilder()
.provider(LinkedInApi.class)
.apiKey(YOUR_API_KEY)
.apiSecret(YOUR_API_SECRET)
.build();
That single line (added newlines for readability) is the only thing you need to configure scribe with LinkedIn's OAuth API for example.
Hit ScribeJava as hard and with many threads as you like.
You can user ning async http client out-of-box, just use ServiceBuilderAsync
-
Google
-
Facebook
-
Yahoo
-
LinkedIn
-
Twitter
-
Foursquare
-
Evernote
-
Vimeo
-
Windows Live
-
Odnoklassniki
-
Mail.ru
-
LinkedIn2.0
-
Google2.0
-
GitHub
-
and many more! check the examples folder
ScribeJava's code is small (about 1k LOC) and simple to understand. No smart-ass or "clever" hacks here. You can use only 'core' or 'with apis' maven modules
Works out of the box with android(TM) applications.
Good test coverage to keep you safe from harm.
When something bad actually happens, ScribeJava's meaningful error messages will tell you exactly what went wrong, when and where.
You can pull ScribeJava from the central maven repository, just add these to your pom.xml file:
<dependency>
<groupId>com.github.scribejava</groupId>
<artifactId>scribejava-apis</artifactId>
<version>2.0</version>
</dependency>
And in case you need just core classes (that's it, without any external API (FB, VK, GitHub, Google etc) specific code), you could pull just 'core' artifact.
<dependency>
<groupId>com.github.scribejava</groupId>
<artifactId>scribejava-core</artifactId>
<version>2.0</version>
</dependency>
Check the Getting Started page and start rocking! Please Read the FAQ before creating an issue :)
Also, remember to read the fantastic tutorial that @akoskm wrote to easily integrate a server side app with an API (twitter in this case).
Feel free to drop us an email or create issue right here on github.com
Looking for a ScribeJava variation? check the Fork List
If you have a useful fork that should be listed there please contact us