retrieve-linkedIn-profile

Directive for angularjs to login into linkedIn and retrieve the users profile.


Keywords
angularjs, directive, linkedIn, login
License
MIT
Install
bower install retrieve-linkedIn-profile

Documentation

Retrieve linkedIn profile directive

Directive for angularjs to login into linkedIn and retrieve the users profile.

Usage

  • Install via bower or you can check out the source and install it yourself.

    bower install --save retrieve-linkedIn-profile

    git clone git://github.com/JVojczekhovskiy/retrieve-linkedIn-profile

  • Add retrieve-linkedIn-profile to your application's module dependencies.

  • Include script inside your HTML.

      <script src="dist/retrieve-linkedIn-profile.js"></script>
  • Use the retrieve-linkedIn-profile directive.

Example

  • You can place the login tags anywhere you want inside your application.
  • Add your api key in the apikey attribute.

    <linked-in-login apikey="YOUR_KEY_HERE" callback='mySaveProfileFunction(profile)'></linked-in-login>

  • The callback attribute is for the function which will be executed when the user logins and the parameter of that function is the linkedIn profile of the user which logged in.