问题
How can I extract or get the LinkedIn recommendations for my website? Is there any plugin or PHP script?
回答1:
You can extract the recommendations using the LinkedIn API, specifically the Profile API. Rough steps are:
- Create an application;
- Authenticate yourself via OAuth;
- Make a call to the API (via JavaScript or some other language via the REST interface) to retrieve your recommendations. A sample call that will do this:
http://api.linkedin.com/v1/people/~:(recommendations-received)
In terms of doing this with PHP, there is a free library, along with demo scripts, here:
http://code.google.com/p/simple-linkedinphp/
回答2:
LinkedIn ended their support for the most of the apps. You must be in a partner program in order to be able to get full profile information.
来源:https://stackoverflow.com/questions/6803919/extracting-linkedin-recommendations-for-your-website