Goodreads Developers discussion

37 views
questions > The best OAuth library for iOS/Objective-c

Comments Showing 1-4 of 4 (4 new)    post a comment »
dateUp arrow    newest »

message 1: by Keraj (new)

Keraj | 3 comments Hi everybody,

What is the best OAuth library for iOS/Objective-c? I’m using the OAuthConsumer library to generate my requests but I'm running into the issue when issuing my some POST requests as I keep getting “401” error. For example:

review.xml, user_shelves.xml, user_status.xml - doesn’t work
shelf/add_books_to_shelves.xml, add_to_shelf.xml - OK

Square brackets seem to be encoded in the right way. The base string for review.xml is:

POST&https%3A%2F%2Fwww.goodreads.com%2Freview.xml&bo...

for parameters:

book_id=3463971&oauth_consumer_key=KEY_GOES_HERE&oauth_nonce=75802C47-0624-470A-A537-49D9EEE414A2&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1471291545&oauth_token=OAUTH_TOKEN_GOES_HERE&oauth_version=1.0&review[review]=Excellent

Thanks


message 2: by Paul (new)

Paul Nuñez (paulnunezm) | 19 comments Hi,

Were you able to solve this ?


message 3: by Keraj (new)

Keraj | 3 comments Yeah, I solved the problem by switching to AFNetworking https://github.com/AFNetworking/AFNet...


message 4: by Paul (new)

Paul Nuñez (paulnunezm) | 19 comments That's an awesome library, thanks!


back to top