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

Java lightweight way to trade request- for access token at google

I get the request token via browser Javascript. The following Java code works trading it for an access token. import com.google.api.client.googleapis.auth.oauth2.GoogleTokenResponse; import…
Andreas Steffan
  • 6,039
  • 2
  • 23
  • 25
0
votes
1 answer

How to implement application-only authentication for twitter in Grails using scribe?

Earlier i was using GET search/tweets of Twitter API 1.0 To get tweets according to #tags in Grails Map jsonMap = grails.converters.JSON.parse(new URL('http://search.twitter.com/search.json?q=%23' + URLEncoder.encode(tag) + '&offset=' + offset +…
Shashank.gupta40
  • 915
  • 1
  • 8
  • 26
0
votes
1 answer

Scribe error "[08S01] Communication link failure"

From the tutorial session, While I was performing tutorial no 2 suddenly I face error whole I was trying to modify data formula. The Error is [08S01] Communication link failure I am new in scribe so, unable to understand exactly what's going on.
Sagar Upadhyay
  • 335
  • 1
  • 4
  • 13
0
votes
1 answer

Using Google Analytics API with Java/Netbeans: How to start?

I'm working on a project that involves pulling data from Google Analytics. I'm familiar with Java and Netbeans, but this is my first time working with Google APIs. I have several remedial questions, which should be straightforward for those with…
0
votes
1 answer

Scribe support for google service account

I would like to know if scribe supports Google service account authorization. I did not find any such reference in scribe examples. The service account provides a private key, which I believe need to be included with the request. If so how can I do…
Deb
  • 56
  • 5
0
votes
1 answer

Import scribe-1.2.1.jar in Android Studio

What are the steps to import scribe-1.2.1.jar in android studio? I have added the jar in the lib folder and have also added it using the add library option. But when I compile I am facing compile time error. Gradle: package org.scribe.builder does…
user2314183
0
votes
2 answers

How to get authenticated token after redirecting user

According to an error message I was getting when I tried to get an authentication request token through service.getRequestToken(), I am not actually allowed to do it that way, and must instead use service.getAuthorizationUrl() to redirect the user. …
AJMansfield
  • 4,039
  • 3
  • 29
  • 50
0
votes
1 answer

query pertaining to scribe (for twitter auth) and twitter api v1.1

Twitter API v1.0 is being retired today (unless I am completely mistaken - which is quite possible). I am wondering what changes need to happen in scribe (besides changing the auth url) - has anyone else encountered the same issue and how have they…
ali haider
  • 19,175
  • 17
  • 80
  • 149
0
votes
1 answer

Fetch tweets with a specific hashtag using Scribe

Can I use scribe to fetch tweets with a specific hashtag using streeming api? I work in java and I want use scribe in an appengine project. Is it possible? I try the following code: OAuthService service = new ServiceBuilder() …
Mari
  • 83
  • 1
  • 10
0
votes
1 answer

Jenkins Plugin having trouble using Class?

I'm trying to integrate scribe-java and write a Jenkins Plugin for it, but it seems Jenkins can't be used with Class? Does anyone know why is this? Jenkins Plugin code: OAuthService service = new ServiceBuilder().provider(…
samxiao
  • 2,587
  • 5
  • 38
  • 59
0
votes
1 answer

Invalid grant_type parameter or parameter missing on Box OAuth2 API with scribe library

I'm trying to write a simple Jenkins plug-in with integration with Box, but I always get this error: === Box's OAuth Workflow === Fetching the Authorization URL... Got the Authorization URL! Now go and authorize Scribe…
samxiao
  • 2,587
  • 5
  • 38
  • 59
0
votes
1 answer

Java scribe does not generate signature on Tomcat

I am using scribe 1.3.0 for OATH authentication. This is on Tomcat 7 under Ubuntu. I am pretty sure this is some sort of a pilot error but cannot figure out what is wrong exactly... I create the service and token in the constructor of my client…
0
votes
1 answer

android linkedin Scribe API gets null pointer exception

I'm using Scribe API to integrate with LinkedIn encountered with problem which I get NPE, code: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.linkedin_list); …
Udi Oshi
  • 6,787
  • 7
  • 47
  • 65
0
votes
1 answer

LinkedInApi class with scope

I am trying out LinkedInExampleWithScopes.java example from scribe-java. However, it errors out on .provider(LinkedInApi.withScopes("foo", "bar", "baz")). withScopes() is not recognized as part of scribe-1.3.3.jar. Please advise which scribe-java…
Heroku Net
  • 11
  • 2
0
votes
1 answer

Facebook Scribe OAuth is returning "message":"(#601) Parser error: unexpected end of query

This is my java code, and the URL String which I am passing as a parameter. If I copy paste the URL on the browser it works. String strURL="SELECT post_id, actor_id, permalink, message, impressions, type, likes, comment_info, share_count,…
Amit Pandey
  • 1,436
  • 2
  • 24
  • 34