19 responses to “Get User’s Profile With Linkedin API Using PHP”

  1. MAnescau says:

    Hi, i can’t manage to make it work im sorry to bother u. But i have an this error :
    “Trying to get property of non-object in C:\wamp64\www\linkedin\callback.php on line 11″

    I’m not really understanding it, again i’m sorry.
    I just have a problem with this part of the code :
    ” json_decode($server_output)->access_token ”

    Can u help me understand what’s wrong.
    Ty for your time.

  2. Manescau says:

    Thanks a lot ! It works… I’m sorry for the trouble.
    Your blog is great and your reactivy is awesome !

    I hope i’ll see more good contents like this one.
    Good look and thanks again !

  3. ajay says:

    Thank you,It Works.But Not Able To Get The All Details from linkedin,name,lastname and company name only i’m getting.

  4. Ajay says:

    No,I have all The Details In My LinkedIn,(Like Experience,Education,Languages,Certifications etc..)
    But I m Not Able To Get Those Details From My LinkedIn,Can You Please Help Me In That.
    Thanks for your Reply.

  5. Ajay says:

    Now I Got The Answer,Thank you paritosh

  6. PRASHANT says:


  7. mityung says:

    how to get email id of user

  8. Hotw to use this code in local server??

  9. how to post the data on the linkedin wall using
    this credential
    please help

    • Hello @Harveer,
      unfortunately! what you’re saying cannot be done using these credentials, we have use another LInkedIn’s API to post in linkedin’s database.
      not to worry about it we surely gonna post on “How to post on LinkedIn wall” soon.
      Thank you.

  10. Awesome code snippet!

    I am trying to find a way to retrieve my OWN LinkedIn posts, so I can show them on my blog.

    So I don’t want my visitors to need to authorize themselves (just me) and only show my own posts.

    Any suggestions?

  11. sakthi says:

    Hi Paritosh Pandey ,

    Your code was working beautifully.But, i want to crawl jobs in LinkedIn profiles .Can you please help me to retrieve page content from https://www.linkedin.com/jobs/ . Any suggestion please help ??

Leave a Reply

Your email address will not be published. Required fields are marked *