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

flickr photo upload post size too large

I'm trying to upload photo to Flickr using Scribe Library, But I've no idea how to use MultipartEntity in Java(I'm new to JAVA). The response from Flickr is: code=93, POST request is too large. Here's my code, Kindly guide me in right direction. …
Desire
  • 563
  • 4
  • 13
  • 28
0
votes
1 answer

thrift 0.5 and 0.8 incompatible

I am using a java scribe client who depends on thrift-0.5.0.jar, but my appserver who depends the scribe client depends on libthrift-0.8.0.jar. When building the server, it reports incompatibility, Anyone can help me?
小武哥
  • 446
  • 1
  • 5
  • 14
0
votes
1 answer

Parsing Unicode Strings in LinkedIn JSON Responses using Scribe and FasterXML Jackson

Hi I am developing a Java application using Scribe to integrate with Linkedin and make RestFul calls. I use FasterXML Jackson Json Parser library to parse the LinkedIn API responses in JSON. I would like to check how I can parse Unicode characters…
0
votes
1 answer

Can a Scribe API be configurable in run-time?

Summary I am writing an application which uses Scribe to connect to an OAuth Server. I need to be able to change the endpoints in run-time (without recompiling). Is this possible? More details A java server application is using scribe to connect to…
MW.
  • 12,550
  • 9
  • 36
  • 65
0
votes
1 answer

How to display response.getBody() in jsp page using scribe

Here I want to get all contacts mail id of a person. This code is redirecting to google site and after getting token and varifier it is returning status code and body which is printing on console. I want to display response.getBody()(all maial…
xrcwrn
  • 5,339
  • 17
  • 68
  • 129
0
votes
1 answer

Retrieve blog feeds using google oauth 2.0 and scribe

I used scribe to connect to google using oAuth 2.0 and successfully got the access token. When i am trying to get the blogs i always get the below error Unauthorized Must authenticate to use 'default' user Below is the code snippet…
0
votes
2 answers

utf-8 handling by scribe (java) for facebook/twitter handling

I am using scribe for oauth. In the oauth response, I receive a list of names (some of which are non-english characters e.g.chinese/japanese). Is scribe able to handle these characters (encode/decode in utf-8 compliant fashion) or is this…
ali haider
  • 19,175
  • 17
  • 80
  • 149
0
votes
1 answer

OAUTH for Twitter

I am coding OAUTH for Twitter using Scribe framework. I know that it use Client ID and Client secret for OAUTH. After OAUTH I will get user information. I am getting this exception org.scribe.exceptions.OAuthException: Problems while creating…
Muhammad Imran Tariq
  • 22,654
  • 47
  • 125
  • 190
0
votes
0 answers

receiving exception when hitting facebook graph URL for oauth request

I am trying to figure out the best possible way for me to debug/verify facebook graph URL's (I am trying to specify permissions in the URL for oauth)…
ali haider
  • 19,175
  • 17
  • 80
  • 149
0
votes
1 answer

how to instantiate verifier when using scribe for facebook authentication

I am testing scribe for facebook authentication. I am not receiving the oauth_verifier when authenticating against facebook - let me know if this is incorrect behavior. For facebook auth, how should I go about creating the verifier in order to…
ali haider
  • 19,175
  • 17
  • 80
  • 149
0
votes
1 answer

authorized with google using scribe not getting how to fetch google contacts

I want to fetch contacts from gmail. for this I am using Sribe using GoogleExample.java Which is working properly and giving me token. For authorization it is giving me link like https://www.google.com/accounts/OAuthAuthorizeToken?oauth_token=** I…
xrcwrn
  • 5,339
  • 17
  • 68
  • 129
0
votes
2 answers

Exception in thread "main" org.scribe.exceptions.OAuthException: Response body is incorrect

While running example of scribe to login with google it is showing following error. I am using scribe-1.3.1.jar file. Please tell me how to resolve it. code is: import org.scribe.builder.*; import org.scribe.builder.api.*; import…
xrcwrn
  • 5,339
  • 17
  • 68
  • 129
0
votes
1 answer

Thrift Server - Scribe Stream Read

I would like to build a thrift server which would feign itself as a Scribe Server and read all the from different boxes and basing on information present in logs, send out alerts or perform certain actions. Are there any available projects which…
Raja
  • 442
  • 5
  • 17
0
votes
1 answer

Linkedin - REST API want to share network update using java 1.2 can't use scribe or other lib

we are trying to implement linkedin into our application and we want to use Rest API so we can share network updates via back-end using OAuth token to our own linkedin account JavaScript API wont work for use because its token expires every 30…
Fossil
  • 179
  • 1
  • 3
  • 15
0
votes
1 answer

Play framework serializing scribe OAuthService problems

I have a problem. I'm building a service, that can use a oauth-service, to get some userinformation. I would like to persist the OAuthService, on the user, because I need to get the data, until the accessToken expires(That differs from each…