Retrieving LinkedIn Contacts / Connections

How do I get LinkedIn contacts on iOS? I read their API, but that api for getting connections is no longer available. Is there any other alternative way to do this? I tried OAUTH2, but by doing so I can only login and get basic user information.

Here's how it's done on Android. here

+3


source to share


2 answers


As mentioned here :

LinkedIn has restricted access to open APIs and this no longer works.



This question might be possible to duplicate the question: linkedin-api-get-information-about-my-all-connections

+1


source


As stated here:

https://developer.linkedin.com/support/developer-program-transition

connection access has been removed from the public API. You can only get access if you are applying for an affiliate program that requires formal review of your application.

The sample code you posted for Android doesn't actually use the public API to get connections, it uses the API to get the access token and then uses the following URL to get the CSV formatted connections and shows it in WebView

:



https://www.linkedin.com/people/export-settings?exportNetwork=Export&outputType=microsoft_outlook

If you don't want to use WebView

, you can download the CSV output and parse it to get the actual data.

For CSV parsing, you can use the CSV library, for example: https://github.com/davedelong/CHCSVParser

+1


source







All Articles