Working example of Coldfusion and Linkedin APIs

Has anyone been able to get the LinkedIn API working from the coldfusion app? There are some threads in the Linkedin developer community, but there are no actual working examples or full code.

In the end, I'm looking for a solution to import LinkedIn profiles into our recruitment solution, and also regularly receive updated profiles - of course, after the user gives us access to his profile.

Any help was appreciated, especially with some kind of working setup (even if it was basic)

+3
source share
1 answer

Since ColdFusion can create and use Java objects, the easiest solution is to use the Java API to access LinkedIn. One option: linkedin-j .

Update

I have not found any evidence of CF-based wrappers, so unfortunately you will have to calculate this part.

, Java Java ColdFusion; , API, , . , linkedin-j - .jar. ; ( , coldfusion jar classpath). , , , , CreateObject.

LinkedInApiClientFactory. ColdFusion, -

<cfset factory = CreateObject('com.google.code.linkedinapi.client.LinkedInApiClient').newInstance(consumerKeyValue, consumerSecretValue)>
<cfset client = factory.createLinkedInApiClient(accessTokenValue, tokenSecretValue)>

, LinkedInApiClient, getProfileByUrl.

, linkedin-j, , LinkedInApiClient, .

+2

Source: https://habr.com/ru/post/1774535/


All Articles