Goodreads Developers discussion

questions > having problems since days with Oauth android + signpost

Comments Showing 1-7 of 7 (7 new)    post a comment »
dateDown arrow    newest »

message 1: by Tonypower24 (new)

Tonypower24 | 8 comments Hello

I am trying to authenticate with goodreads using signpost on android but

do I need the callback_url for android applications ?
I am using these libraries

I have setup everything but I am getting Communication error servicer provider null and the browser is not launched

Please help me I am doing a university project

message 2: by Tonypower24 (new)

Tonypower24 | 8 comments my problem is solved
This is happening because calling on UI thread I used AsyncTask Class

But I am having a problem with calling api methods
I get Exception warnings

please someone tell me how to do call method such as getting userid

message 3: by Michael (new)

Michael Economy (michaeleconomy) I'm not sure what you mean, can you provide more details?

message 4: by Tonypower24 (new)

Tonypower24 | 8 comments I successfully established authentication with goodreads and I gotaccess token but now I don't know how to use the access token to call api methods like getting user id with OAuthconsumer class in signpost library of Android ?

message 5: by Michael (new)

Michael Economy (michaeleconomy) Can you post the code you've got this far? (please remove api keys before doing so)

message 6: by Tonypower24 (new)

Tonypower24 | 8 comments here is the code

api keys are used in class Constants
class where I call to get userID: MainMenuActivity
MainActivity-Launcher: LoginActivity
Class that are not used: ProxyHelper,Request,Response,ResponseParser

message 7: by Michael (new)

Michael Economy (michaeleconomy) Sorry for taking so long. Have you taken a look at this example?

Should work similarly to that.

back to top