PHP Classes

LinkedIn OAuth 2.0...

Recommend this page to a friend!

      PHP OAuth Library  >  PHP OAuth Library package blog  >  How to Implement PHP ...  >  All threads  >  LinkedIn OAuth 2.0...  >  (Un) Subscribe thread alerts  
Subject:LinkedIn OAuth 2.0...
Summary:LinkedIn OAuth 2.0...
Messages:2
Author:Tech Solutions Group
Date:2014-11-30 15:25:22
 

  1. LinkedIn OAuth 2.0...   Reply   Report abuse  
Picture of Tech Solutions Group Tech Solutions Group - 2014-11-30 15:25:23
LinkedIn OAuth 2.0 uses a non-standard method by using oauth2_access_token passed on the query string, however when using this library, if "access_token" is not set, it throws an error: "the access token is not set to a valid value"

The library should accept not setting "access_token"?

  2. Re: LinkedIn OAuth 2.0...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2014-11-30 21:37:22 - In reply to message 1 from Tech Solutions Group
The LinkedIn support built-in this class uses OAuth 1.0a. If you obtain a OAuth 1.0a token, I am afraid it will not do to perform calls to API URLs that expect OAuth 2.0 tokens.

It is possible to use this class with LinkedIn and OAuth 2.0. Just add the necessary entries to the oauth_configuration.json file, or let me know if you need assistance.