Profile Plugin
The JavaScript profile plugin is a component of Recruiter System Connect that allows a LinkedIn profile to be displayed in your application. Users of your application will be prompted in the plugin to log into LinkedIn if they do not have an active cookie. We will check to see that the user's company has a valid LinkedIn Recruiter license.
The plugin is rendered within an iFrame and is self-contained; the JavaScript code handles the authentication and renders the content.
This feature is dependent on already syncing candidates from your system to LinkedIn. Considering that candidate data in your system might differ from LinkedIn Member data on LinkedIn, there is a possibility that the Profile Plugin will not return a correct match or identify a match at all. In the event that either occur, a user will be able to correct the match manually from within the widget.
Note: Your application will have an API key per customer.
Display Profile Plugin
To display the profile plugin within your application, use the below javascript:
<script type="text/javascript" src="https://platform.linkedin.com/xdoor/scripts/in.js">
api_key: {api_key}
extensions: HcmWidget@https://platform.linkedin.com/rsc/extensions/profile-widget
</script>
<script type="IN/HcmWidget"
data-widget-type="ATS"
data-ats-candidate-id="{ats_candidate_id}"
data-integration-context="{customer_integration_context}"
data-show-unlink-url="{true|false}"
data-confirm-unlink="{true|false}"
data-onlink="link"
data-onunlink="unlink"
data-width="{width}">
</script>
<script>
function link(member) {
console.log("Link callback", member);
}
function unlink(member){
console.log("Unlink callback", member);
}
</script>
Profile Plugin Parameters
Parameter | Description | Required |
---|---|---|
data-widget-type | ATS | Yes |
data-ats-candidate-id | Customer unique identifier (CUID) to store relationship on LinkedIn side. | Yes |
data-integration-context | Integration context value for the customer's PROFILE_PLUGIN integration type . You'll get this value when the customer enables the integration via the Integration Configuration Plugin . | Yes |
data-show-unlink-url | Disable ability to unlink a matched profile. Defaults to false. (For Manual Profile Link certification test case set to True) | No |
data-confirm-unlink | Display confirmation message when unlinking matched profile. Defaults to false. | No |
data-onlink | Specify Javascript function to call when a profile is linked. | No |
data-onunlink | Specify Javascript function to call when a profile is unlinked. | No |
data-width | Ability to override default widget of the widget. Defaults to 800px, minimum value is 500px. | No |
Note
Verify Content Security Policy includes "platform.linkedin.com" and "www.linkedin.com"