Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix example for client.request_token scope #246

Merged
merged 1 commit into from Nov 9, 2015
Merged

Conversation

tjoyal
Copy link
Contributor

@tjoyal tjoyal commented Oct 11, 2014

The example is slightly wrong, using + instead of (space)

request_token = client.request_token({}, scope: 'r_fullprofile+r_network+r_emailaddress+r_contactinfo')
=> OAuth::Problem: Scope INVALID : r_fullprofile+r_network+r_emailaddress+r_contactinfo

request_token = client.request_token({}, scope: 'r_fullprofile r_network r_emailaddress r_contactinfo')
=> #<OAuth::RequestToken:0x007f0f2d614ac0 ...>

@mmorava
Copy link

mmorava commented Nov 9, 2015

Why this is not merged ? It is an error in the example and provided solution solved my problem :+1

hexgnu added a commit that referenced this pull request Nov 9, 2015
Fix example for client.request_token scope
@hexgnu hexgnu merged commit 768b202 into hexgnu:master Nov 9, 2015
@hexgnu
Copy link
Owner

hexgnu commented Nov 9, 2015

it's merged now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants