Creating an App
To create an application, you need to register on LinkedIn, go to the https://www.linkedin.com/developer/apps page and follow these steps:
- Click on “Create Application”;
- Fill the fields by assigning:
- The Company Name;
- The Name
- The Description;
- The Application Logo URL (for example: to use a custom image uploaded by HSNM, use the following URL: https://mydomain/functions/get-image.php?t=31&id=IDImmagine. You have to substitute mydomain with the domain name assigned to the HSNM and the IDImage with the ID of custom image containing the logo);
- The Application Use (for example: Communications);
- The Website URL (for example: http://mydomain. You have to provide the complete domain name set in “ System Settings” in the “Domain name” field);
- The Business Email;
- The Business Phone;
- Accept the Terms of Use;
- Press “Submit”;
- In the page that you will be displayed, proceed as follows:
- Enable on “Predefined application permissions” the checks “r_basicprofile”;
- In the “authorised readdressed URL” field, enter http://mydomain/social/linkedinlogin.php (substitute mydomain with the name of the domain assigned by HSNM) and press “Add”;
- Click on “Update”;
- Copy the values of “Client ID” and “Client Secret” and bring them in the “ External Authentications” settings of HSNM in the “LinkedIn Client ID” and “LinkedIn secret” field.