Hi All,
I’m currently writing an addon for a client to pre-populate a profile page with content directly from LinkedIn, however I’m becoming a little unstuck and not sure how to resolve…
I have a module which initiates the LinkedIn Authentication - goes off to LinkedIn, requests oAuth permission and then upon granted redirects back to my URL site.com/index.php?ACT=35&oauth_token=xxxxxxxxx etc…
According to the docs from LinkedIn, I check for the oauth_token presence in the QueryString and then do the following:
$access_token = $_SESSION['laccess_oauth_token'];
$access_token_secret =$_SESSION['laccess_oauth_token_secret'];
$oauth_verifier = $_SESSION['loauth_verifier'];
$oauthc->setToken($access_token,$access_token_secret);The problem I have is that the $_SESSION[] isn’t available for me, so I can’t get the values to initiate the API calls…
Anyone got any ideas?
If you need any more info - feel free to shout.
Cheers,
C.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.