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
0
votes
1 answer

Facebook authentication returns invalid_request after running successfully once

We are using scribe to authenticate on Facebook. The following code snippet gets the url that we call. Token requestToken = null; service = new ServiceBuilder().provider(FacebookApi.class).apiKey(appToken) …
0
votes
1 answer

Twitter update_with_media Via Scribe OAuth On Android

I'm currently using Scribe to both authenticate and post non-media messages to Twitter successfully. This was very easy, my first test message posted with no issues. However, I can't seem to post photos at all. I have reviewed Twitter's…
Jabari
  • 5,359
  • 3
  • 26
  • 32
0
votes
1 answer

scribe no source code is available error

I'm attempting to use Scribe with GWT, but any time i switch to the designer view i get scribe errors: No source code is available for type org.scribe.oauth.oauthService; did you forget to inherit a required module? I imported the scribe jar, as…
0
votes
1 answer

Using Scribe, OAuth Echo doesn't seem to work with Twitpic

I'm trying to upload photos using Scribe, and it doesn't seem to work with getting an error: Authentication challenged received is null And I have no idea, due to the lack of documentation on the matter how to fix this. The relevant code is: try{ …
Joe Simpson
  • 2,546
  • 4
  • 30
  • 46
0
votes
2 answers

Can't understand OAuth flow for this API

Can anyone help me understand OAuth flow for Khan Academy API. It can be accessed through this link: https://github.com/Khan/khan-api/wiki/Khan-Academy-API-Authentication I am using Scribe. Here is the working code: OAuthService serv = new…
Saeid Farivar
  • 1,667
  • 24
  • 43
0
votes
2 answers

“Invalid signature”: oAuth provider with Django-piston revisited using Scribe as a client

So while working through an implementation of OAuth using Django-Piston I encountered the error mentioned here: "Invalid signature": oAuth provider with Django-piston The solutions posted previously were not working for me so I began digging deeper…
Aron23
  • 23
  • 6
0
votes
1 answer

How to combine scribe authorization with gdata services

Does anyone know how to combine oauth done with scribe with Gdata Service: So after authenticating with scribe I have access token and need to push it to instance of gdata ContactsService (for any other service it would work the same, i guess). I've…
Tomasz Bartczak
  • 597
  • 5
  • 6
0
votes
3 answers

How to get refresh token using access token in scribe

i have got access token now i want to have refresh token so that i can refresh my access token whenever needed. i used fallowing code but it returned error response **OAuthRequest request = new OAuthRequest(Verb.POST,…
0
votes
1 answer

Using scribe library to post image to Facebook Page

I am trying to post an image to facebook using scribe library. My code is: String apiKey = "MY_API_KEY"; String apiSecret = "MY_SECRET_KEY"; OAuthService service = new ServiceBuilder().provider(FacebookApi.class).apiKey(apiKey) …
Babajide Prince
  • 552
  • 1
  • 10
  • 25
0
votes
1 answer

how do you get the ticket_id on vimeo api with scribe

I am trying to upload video to vimeo and I understand that you need the ticket_id in order to be able to upload. The think is I can not figure out how to get this ticket_id by using scribe. Does anyone have any example how to do this? Thanks in…
aki
  • 1,731
  • 2
  • 19
  • 24
0
votes
1 answer

how to obtain a "request token" in callback servlet?

I posted this question already to scribe-java github. I wonder, where I can get Token object inside my callback servlet, if I only have a String from LinkedIn server. This is how Scribe wants me to retrieve an "access…
yegor256
  • 102,010
  • 123
  • 446
  • 597
0
votes
1 answer

Post to Facebook page as Admin

I didn't know Java + Facebook integration would cost an arm and a leg. Does anyone have a sample code to post to Facebook page as admin? I understand the OAuth process, I just need to send an OAuthRequest with my text using scribe lib . And if…
Babajide Prince
  • 552
  • 1
  • 10
  • 25
0
votes
2 answers

oAuth with Scribe for LinkedIn - accessToken issues

I'm using scribe for logging into LinkedIn in my application. I would like to know if there is a way to automate the process of getting accessToken so that the user doesn't have to enter the Verifier token. Possible? If yes, may i get a little…
Krish
  • 917
  • 4
  • 10
  • 23
0
votes
1 answer

Post a message to LinkedIn with Scribe in not working in Android

Below is the code to send a post message. On my screen i have an EditText section to allow the user to enter text and when they hit post the sendMessage function is called. I keep getting this in the response. I have also tried…
0
votes
2 answers

Scribe - don't ask for permission when the application has already been accepted

I'm using Scribe for login with google and Twitter. It works nicely, but I would like to allow the application to connect directly without the user's intervention if he already accepted it. Is it possible with Scribe ? If yes, how can I do that ?
xurei
  • 1,057
  • 8
  • 22
1 2 3
22
23