I am implementing the linkedin API uaing OAuth and I am on fourth step of this documentation: https://developer.linkedin.com/docs/oauth2 My code is working perfectly till step 3 because I obtained the access_token from linked in.
I just want to make a GET request. The sample call in the documentation is given as:
GET /v1/people/~ HTTP/1.1
Host: api.linkedin.com
Connection: Keep-Alive
Authorization: Bearer AQXdSP_W41_UPs5ioT_t8HESyODB4FqbkJ8LrV_5mff4gPODzOYR
How do I implement it in PHP? ANy help will be appreciated. Thanks.