hexgnu / linkedin

Ruby wrapper for the LinkedIn API
http://rdoc.info/gems/linkedin
MIT License
759 stars 407 forks source link

Fix example for client.request_token scope #246

Closed tjoyal closed 8 years ago

tjoyal commented 9 years ago

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 commented 8 years ago

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

hexgnu commented 8 years ago

it's merged now