In this example, we will build the CI Library wrapper to integrate with the LinkedIn API in order to query the LinkedIn information from it.
There are several challenges in doing so, one of which is to get the token to access the LinkedIn resources and access the data objects such as the following:
The LinkedIn user's details
The LinkedIn user's connections
The LinkedIn company's details
The LinkedIn company's updates
The PHP extension
oauth
library must be installed from http://il1.php.net/manual/en/book.oauth.php.We shall register the application at LinkedIn Developers Network Homepage to receive the API key from http://developer.linkedin.com. This unique API key is required to identify our application in order to grant access from LinkedIn for responding to our API calls to their API. Once we've registered our LinkedIn app, we will be provided with an API key and a secret key. For the safety of our application, we do not share our secret key...