react-linkedin-pluginsdeprecated

LinkedIn SDK Components built with ReactJs

Usage no npm install needed!

<script type="module">
  import reactLinkedinPlugins from 'https://cdn.skypack.dev/react-linkedin-plugins';
</script>

README

React Linkedin Plugins

Install

Install the component using NPM:

$ npm install --save react-linkedin-plugins

Usage

Initialise module

import {
    LinkedinLogin,
    LinkedinProfile,
    LinkedinShare
} from 'react-linkedin-plugins';

Render

Linkedin Login

Renders a "Sign in with LinkedIn" button

<LinkedinLogin
    apiKey="xxxxxxxxxxxxxx"
    authorize
    lang="en_US"
    onError={this.handleError}
    onSuccess={this.handleSuccess}
/>

Linkedin Profile

Renders a "Add to profile" button

<LinkedinProfile
    lang="en_US"
    task="CERTIFICATION_NAME" // Or "SCHOOL_NAME"
/>

Linkedin Share

Render a "Share" button

<LinkedinShare
    apiKey="xxxxxxxxxxxxxx"
    authorize
    lang="en_US"
/>

Roadmap

  • Login
  • Add to Profile
  • Share

License

MIT License