Git Product home page Git Product logo

login-with-linkedin's Introduction

login-with-linkedin

Implement login with linkedin(New vertion API)

  1. Authenticating Members When requesting an authorization code in Step 2 of the OAuth 2.0 Guide, make sure to request the r_liteprofile and/or r_emailaddress scopes! After successful authentication, you will acquire an access token that can be used in the next step of the sign-in process.

2)Retrieving Member Profiles With your newly acquired access token for the authenticated member, you can using the following API request to retrieve the member's profile information. //API -> GET https://api.linkedin.com/v2/me


3)Retrieving Member Profile Picture In order to retrieve the member's profile picture, you will need to use decoration. Use the API request below to retrieve the member's id, first name, last name, and profile picture. //API -> GET https://api.linkedin.com/v2/me?projection=(id,firstName,lastName,profilePicture(displayImage~:playableStreams))


4)Retrieving Member Email Address In addition to the member's profile, you may be interested in retrieving the member's email address. The r_emailaddress permission scope allows usage of the following API: ///API-> GET https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~))


My directory Structure login-with-linkedin- -index.php -init.php -callback.php -landing.php -logout.php

login-with-linkedin's People

Contributors

ashusalvi avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

iusondemand

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.