Questions tagged [oauth-ruby]
28 questions
1
vote
2 answers
How to get the "oauth access secret" for a connection to the soundcloud api
I am new to using APIs of Websites. But since a long time I wanted to learn this and today started with the simple example of how to access information from soundcloud. Here is the code of the simple example from their website
require 'rubygems'
gem…

dedan
- 337
- 3
- 15
1
vote
2 answers
De-authorizing a twitter OAuth application
We just finished implementing OAuth in our RoR application using the Twitter gem. The whole authentication process works perfectly and we are able to persist access tokens. We're wondering if there's a way for our de-authorize our access to twitter…

bloudermilk
- 17,820
- 15
- 68
- 98
1
vote
2 answers
401 Unauthorized for foursquare OAuth
OK, I am pulling my hair after trying this out too many times to debug.
So please help me out here. I keep getting 401 Unauthorized error after I am redirected back.
Here is my code. What am I doing wrong here?
require 'rubygems'
require…

Manas
- 43
- 4
1
vote
1 answer
Why does the OAuth Unauthorized Error (401) happen?
Sometimes an Twitter OAuth is successfully executed, but an unauthorized error is thrown. I get about 50 of these on a daily basis. It is worrying, because I have no idea how that might be reproduced.
What are the different cases where this error…

meow
- 27,476
- 33
- 116
- 177
1
vote
0 answers
401 Unauthorized error in Rails two-legged OAuth provider
I'm trying to implement a two-legged OAuth provider on Rails.
I followed these instruction for installing the consumer and provider:
https://github.com/pelle/oauth-plugin
with these instructions to make the consumer work
Rails3 - oauth-plugin…

Mono
- 302
- 2
- 6
- 21
0
votes
1 answer
OAuth signature verification fails
I'm having some problem setting up an oauth provider with two-legged authentication.
I'm using the oauth-plugin gem and the oauth gem, everything works fine except for my "update" requests. The signature verification process keeps failing.
Here is…

etang
- 730
- 8
- 23
0
votes
0 answers
Authenticating to Pinterest with 'omniauth-pinterest' gem
I tried to integrate authenticating to Pinterest with 'omniauth-pinterest' gem in my porject.
I am getting error message at the time of authentication
{"status": "failure", "message": "You are not permitted to access that resource.", "code": 7,…

Pankaj
- 150
- 1
- 6
0
votes
1 answer
How do I get params with oauth?
I have some confusion regarding Ruby and OAuth. Basically, this is what I'm doing:
@oauth.get('/foo.json?page=1')
However, for some reason outside of my understanding, the provider application is only receiving /foo.json, with the get params…

Oscar Del Ben
- 4,485
- 1
- 27
- 41
0
votes
1 answer
Two-legged OAuth Provider Ruby
Does anyone know of any examples of a two-legged Oauth provider in ruby? Preferably one done using the oauth gem.
Thanks.
Edit: I was able to solve this, it was surprisingly simple, which explains the lack of examples.

K-2052
- 197
- 4
- 10
0
votes
2 answers
Which is the best 0auth gem for a rails app?
I'm going to add Oauth autenthication to my rails web app. Since I don't want to reinvent the wheel, have you got some ruby gem to suggest to add this kind of feature?
TIA
Paolo

Paolo Perego
- 393
- 3
- 9
0
votes
1 answer
400 Bad Request when using :oauth_callback
I'm trying to use the oauth-ruby gem (https://github.com/oauth-xx/oauth-ruby/) in my Rails application to let users authenticate with a 3rd party API, but I'm having problems getting the oauth_callback to work properly when using get_request_token.…

cmahon
- 1
- 2
0
votes
1 answer
Tagging a user in Open Graph API using Ruby
I have found some really sparse documentation about the options for posting to your feed.
I am trying to post to "/me/feed" and then include a user in that post. I am trying to re-create the way that you can now do @username in the Facebook Status…

neofetter
- 3,004
- 2
- 26
- 26
0
votes
2 answers
Ruby Oauth File upload/Multipart POST request
I've been looking at this for a couple of days now and haven't
found a solution. Is there a way to upload a file using OAuth-Ruby?
I am working with a REST system that protects their resource with oauth. I am building a test tool using ruby and…

Jonas Söderström
- 4,856
- 2
- 36
- 45