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

Unable to find client.profile for authenticated user #264

Open
gandhinikita opened this issue May 24, 2016 · 3 comments
Open

Unable to find client.profile for authenticated user #264

gandhinikita opened this issue May 24, 2016 · 3 comments

Comments

@gandhinikita
Copy link

When I am doing client.profile(:id => 'xxxx') its working fine but for my own profile i.e client.profile it is giving error inkedIn::Errors::NotFoundError (404): Not Found
I don't know what I am doing wrong

Also it is giving error "Could not find person based on: ~"

Please help

@hexgnu
Copy link
Owner

hexgnu commented May 27, 2016

Not entirely sure could you please post what code you are using?

@arthurtofani
Copy link

+1

@revelutions
Copy link

revelutions commented Sep 24, 2016

Fixed: The problem was I need to have URLs in Oauth1.0a setup in linkedin

I folllowed the example on Ubuntu and get the same error with client.profile

LinkedIn::Errors::NotFoundError: (404): Not Found
from /var/lib/gems/2.1.0/gems/linkedin-1.1.0/lib/linked_in/helpers/request.rb:54:in raise_errors' from /var/lib/gems/2.1.0/gems/linkedin-1.1.0/lib/linked_in/helpers/request.rb:16:inget'
from /var/lib/gems/2.1.0/gems/linkedin-1.1.0/lib/linked_in/api/query_helpers.rb:27:in simple_query' from /var/lib/gems/2.1.0/gems/linkedin-1.1.0/lib/linked_in/api/people.rb:22:inprofile'
from (irb):15
from /usr/bin/irb:11:in `

'

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

No branches or pull requests

4 participants