Questions tagged [scribe]

Scribe is a simple OAuth library for Java

Scribe is a library for OAuth-signing HTTP requests.

It's written in java but you can use it from other JVM languages as well (like Groovy or Scala).

It's really really simple and has low memory footprint which makes it the ideal choice for Android applications.

You can find more info about Scribe in the home page:

https://github.com/scribejava/scribejava

334 questions
6
votes
4 answers

java "ClassNotFoundException" error

I am new to java programming and I am getting the much-maligned error "ClassNotFoundException" error. The strange thing is is that it compiles fine: java -cp /usr/share/java/scribe-1.3.0.jar FacebookProg But when I try to run it, I get the…
Steve Quezadas
  • 724
  • 2
  • 11
  • 27
5
votes
2 answers

Retrieving Linkedin Group discussion posts using ColdFusion

I have been requested by a client to pull the latest posts from their LinkedIn group to one of our website pages. I am developing using ColdFusion 9 and have been researching this for quite a few days now and decided to post my query here in the…
5
votes
1 answer

OAuth integration with Vimeo using Scribe

I have been able to successfully get an access token from Vimeo using the Scribe API. However, when I try to access a protected resource, I get an invalid signature error. My OAuthService that I use to try an access a protected resource, looks like:…
stevebot
  • 23,275
  • 29
  • 119
  • 181
5
votes
0 answers

How to sign the request with the OAuth signature method for HMAC-SHA1 encryption

We're trying to connect with another company's custom API which uses two-legged OAuth to authenticate a request and send us a response. At the moment the code we have is sending a request but it's not being authenticated at the other end and so…
AlphaBetaGamma
  • 1,910
  • 16
  • 21
5
votes
2 answers

Scribe strange uncontrolled exception with Twitter

I'm pretty new to Scribe but when i try to auth through Twitter a weird error rises up. My code is pretty much the same than the TwitterExample: OAuthService service = new ServiceBuilder() .provider(TwitterApi.class) …
5
votes
1 answer

Twitter does not remember authorization

I am using Scribe (OAuth1.0) as a mechanism so that users can use their Twitter account to authenticate to my GWT/GAE application. According https://dev.twitter.com/docs/auth/implementing-sign-twitter, there are 3 possible scenarios: a/ User is…
peternees
  • 170
  • 1
  • 15
5
votes
2 answers

Unable to access user's profile from Google Plus

I am using Scribe-Java to connect to Google plus using OAuth2. I am able to authenticate my application and obtain user's permission, but when I try to access anything other than userinfo, I am getting this Exception. 403 { "error": { "errors":…
Logan
  • 2,445
  • 4
  • 36
  • 56
5
votes
2 answers

Using Scribe library for Oauth in Twitter with callback url

I am implementing twitter in my application using scribe. After the user authenticate my app and is redirected to new url, I got the oauth_token and oauth_verifier but could not figure out how to generate oauth_token and oauth_secret from it. Kindly…
Ashish Mittal
  • 141
  • 1
  • 2
  • 9
4
votes
2 answers

How to get oauth_verifier without manual intervention

I am trying to get the access token for LinkedIn Here's the part of code, OAuthService service = new ServiceBuilder().provider(LinkedInApi.class).apiKey("My_Api_Key").apiSecret("My_secret_key").build(); System.out.println("LinkedIn Service…
Janhavi
  • 55
  • 1
  • 5
4
votes
2 answers

How to load thrift client in Erlang

I wish to use scribe to export some data from a Erlang application, but I have a problem with running Thrift client. I install Thrift, in the erlang lib directory. I'm using: thrift-0.6.1 I found some example code to connect from erlang via thrift…
4
votes
1 answer

Spring Social : OAuthException: Response body is incorrect. Can't extract a token from this

Can any one help me on this, please I get the following exception when I try to parse Facebook token, using spring social org.scribe.exceptions.OAuthException: Response body is incorrect. Can't extract a token from this: This is my code : …
4
votes
0 answers

Connecting to lucid chart api

I'm trying to use lucid chart api. They are using oAuth1. But when I'm trying to connect, I get the following error : Response body is incorrect. Can't extract token and secret from this: 'Invalid oauth_verifier' package rest; import…
4
votes
1 answer

How to make OAuth2 Authorization Request via POST to Custom API using Scribe

Hello fellow developers... I am new to oauth2 and I found Scribe Java Library which suits my needs... but the problem is that I have my own oauth2 server which receives request via POST and user credentials are passed through PAYLOAD…
JavaMachine
  • 601
  • 1
  • 9
  • 27
4
votes
2 answers

How To Logout a Google User in my Android Application on Button Click In Java?

I have been successful at Login in a user (asking for their approval and then letting them do some other protected stuff) and now I want to clear their login or in other words, Log them out when they click a button. Is there a path that I could load…
Eenvincible
  • 5,641
  • 2
  • 27
  • 46
4
votes
2 answers

Scribe-java and async request in Android 4

In my Android 4.2.2 emulator I try to use scribe code snippet: OAuthService service = new ServiceBuilder() .provider(TwitterApi.class) .apiKey("abc") .apiSecret("aaa123") .debug() …
trante
  • 33,518
  • 47
  • 192
  • 272
1
2
3
22 23