You need to sign in to do that
Don't have an account?
Salesforce Linkedin Integration
Hi,
My requirement is to integrate salesforce with Linkedin and to show the shared connection between two contacts in a VF Page.
I have done the first step and generated the oauth_token and in the oauth_callback, i have given the URL of Site with a VF page and same controller.
So, i generated a URL in the code as
LinkedAuthUri='https://api.linkedin.com/uas/oauth/authenticate?oauth_token='+unAuthorisedToken+'&oauth_callback='+o...
It gives me the URL as
If user validate this by clicking the link, it takes him to the site which i gave in oauth_callback and in the URL i get
oauthVerifier and oauthToken .
My problem is to get the oauthVerifier and oauthToken from the URL so that i can send it in the request again.
i tried using ApexPages.currentPage().getParameters().get('oauth_verifier');
but it is coming as null because when the user verfies it and then it takes it to the site i gave in oauth_callback. the controller is not getting instantiated again.
Any suggestion would be helpful.
Thanks,
Vineet
hi
try this
System.currentPagereference().getParameters().get('abcdefgh');