Unable to find client.profile for authenticated user
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
Not entirely sure could you please post what code you are using?
+1
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 `