hexgnu / linkedin

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

Unable to search by email #245

Closed ahamidi closed 9 years ago

ahamidi commented 9 years ago

Looking at the Profile Example it would seem that you can search for members by email.

# Example of a multi-email search against the special email search API
account_exists = client.profile(:email => 'email=yy@zz.com,email=xx@yy.com', :fields => ['id'])

Whenever I call client.profile and pass in an :email I receive "(403): Access to member by email address denied".

I've checked out the permissions for my app and I still get the same with all read permissions enabled.

tjoyal commented 9 years ago

I am wondering the same thing. One thing I discovered is when requesting scopes the doc says to space them by + where in reality it seems to require a (space).

Were you able to solve your issue?

Karthikds commented 9 years ago

Even I am facing the same issue. I am not able to search by any keywords (email/people or any text). As I gone through the linkedin docs, You need to get "VETTED API ACCESS" if have more than 250 calls/day. But in my case, its my first call (and further it will which is less than 250 calls/day). The error is LinkedIn::Errors::AccessDeniedError: (403): Access to member by email address denied

I am wondering, there is no reply for the gem author as well. It will be great if we can get a help on this ASAP.

ahamidi commented 9 years ago

Looks like LinkedIn/Rapportive has removed access to this endpoint.

Going to go ahead and close this issue.

hexgnu commented 9 years ago

Just so everybody knows. I haven't been using this gem in my daily work for a long time and therefore this makes it hard to maintain this gem see https://github.com/hexgnu/linkedin/issues/240

I would be open to anybody who would like to take over maintenance of the gem.