Abhijith12 / linkedin-j

Automatically exported from code.google.com/p/linkedin-j
0 stars 0 forks source link

Get connections by email throw Forbidden error. #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to get the connections of a user by his own email.

Instead of returning the connections, it throws the following exception:
Caused by: java.io.IOException: Server returned HTTP response code: 403 for
URL:
http://api.linkedin.com/v1/people/email=nabeelmukhtar%40gmail.com/connections
    at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.jav
a:1241)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
    ... 4 more

This issue has also been posted on the LinkedIn API forum:
http://developer.linkedin.com/thread/1265

Original issue reported on code.google.com by nabeelmukhtar on 8 Dec 2009 at 11:58

GoogleCodeExporter commented 8 years ago
This is an API limitation. Access to member by email address denied.

Original comment by nabeelmukhtar on 10 Dec 2009 at 3:55