How to create a LinkedIn API application for the WP-LinkedIn plugin

Here’s the step by step instructions on how to create a LinkedIn API application to be used with the WP-LinkedIn plugin. I will try to keep it as accurate as possible but if you notice any discrepancy or have questions then don’t hesitate to post a comment.

  1. Go to the LinkedIn Developer Network
  2. Click on the big yellow “Create Application” button
    Create application - Page 1
  3. Fill in all the fields in the next form. You will probably need to create a new company. You will need an application logo url using HTTPS (you can use your Twitter profile picture url or a public image on Flickr or Facebook) check the “terms” check box and click the “Submit” button
    Create application - Page 2
  4. On the next form you will have to add the OAuth 2.0 authorized redirect url which is given to you on the settings page of the plugin (something like You must give the exact url, including the trailing slash if there is one. Paste it in the field then click on the yellow “Add” button. Click the “Update” button.
    Create application - Page 3
  5. Finally copy the authentication keys (“Client ID” and “Client Secret”) and copy them in the corresponding fields on the plugin’s settings page and click on the “Save Changes” button.
  6. Once the settings have been saved you will notice an error message that says that your authentication token is expired or invalid (you don’t have one yet, so it’s definitely invalid). Click the link in the message and you will be taken to LinkedIn. They will ask you to login (unless you’re already logged in) and then will ask you to authorize the application to have access to your profile. Once you authorize the application you will be redirected to your website.

Image Credits: Jerry Luk

36 thoughts on “How to create a LinkedIn API application for the WP-LinkedIn plugin


    quando arrivo ad eseguire l’ultimo punto della creazione LinkedIn API application per il WP-LinkedIn plugin; ossia quando clicco al messaggio del TOKEN il link apre questa paggina di errore: Not Found

    The requested URL /oauth/linkedin/ was not found on this server.

    Apache/2.2.22 (Debian) Server at Port 80

    1. Claude Vedovini Post author

      I can’t speak Italian but I guess you have a problem with the redirect url.
      Try to go to the permalinks settings page and save it once, then retry to get the oauth token

  2. Scott

    Hi Clause. I thought I had followed all of your instructions correctly, hwoever I get this error message when i hit the link for the new access token:

    An error has occured while updating the access token, please try again.
    Error message: Your application has not been authorized for the scope \\\”r_fullprofile\\\” (invalid_scope)

      1. Pedro

        Hi Claude,
        I got the exact same error . I followed your instruction but it still did not work and the error persists.
        Do you have any other suggestion?

        Thank you

  3. Edwin

    Hello Claude,

    When I try to activate I get the following page:
    “Not Found
    The requested URL /oauth/linkedin/ was not found on this server.
    Apache/2.4.7 (Ubuntu) Server at Port 80”

    I tried to go to permalink page and save, but it made no change.

    I tried to create the folders in the /var/www/html/ but it didn’t work too.


  4. Edwin

    I was using for testing purposes. I have just repeated the process and now it works. Thanks

  5. Jeffrey

    Hello Claude,

    I hope you can answer my question.
    For a school project i need some sort of linkedin integration within a CMS system (wordpress in this case).

    I installed your plugin and created a linkedin key and secret key.
    Than i used the redirect URL (given by your plugin) and added it in the redirect field at linkedin/developers and it was accepted.

    until here everything is working.

    The last step is to get a token, but when i click on the link (given by the alert in wordpress) to activate a new one; it sends me to 404 page. I didnt create the folders/files where the token-link sends me to.
    Is this necessary?

    my website URL is:
    my redirect URL is:

    Did i something wrong?

    Thanks in advance for helping

      1. Jeffrey

        Hi Claude,

        First of all, thanks for you quick reaction.

        I did as you said, on the permalinks page, the last one is activated, custom structure (by default)
        with a URL next to it.

        I saved the permalinks page and tried to get a token.
        Now the linkedin login screen shows up, as i fill in my credentials and press login its still sends me to a 404 error page.

        Is there anything else i can do?
        Thank you


        1. Jeffrey

          Never mind, I played with the permalink options a little bit and changed the permalink to the first availible option (plain).
          Now it works!

          Thank you for your help

  6. Golam Rabbani

    Hi, I successfully completed all the steps. I want to show my linkenin recommendations by this shortcode [li_recommendations width="480" length="200" interval="1000"] I used it into my page but it didn’t work. But when I used [li_profile] to show my profile, it’s working. But I don’t want to show my profile. I want to show my recommendations as rotating scrolled.

    Please give me suggestion. Or did i do anything wrong?

  7. Paul

    Hello Claude.
    I get the following error message:

    An error has occured while updating the access token, please try again.
    Error message: The client_id 773rw8oucewcy8 is disabled. (disabled_client)

    And when I use the link at the top of the WordPress admin pages, to Authorise access. the Above the Authorisation window, it says “Client is disabled” . So, authorising with my username and password doesn’t change anything.

      1. Paul

        It worked! Thank you.
        Thought I’d already done that a few times. All good now.
        I see the “recommendations” data isn’t displaying for me.
        Also, is there a way to display a bit more of a LInkedIn look and feel to the Widget display?

  8. Ferdie Serrao

    Hello Claude!, Ive just installed the plugin, got the client id and client secret, redirect url is the same as on the linkedin plugin redirect url, when it says “Your LinkedIn access token is invalid or has expired, please click here to get a new one.” i do that then i get the error message “Error message: Your application has not been authorized for the scope \\\”r_fullprofile\\\” (invalid_scope)” How do i go further from here??? Any help?

  9. Deepika

    Hey Claude,

    I am getting 404 error while activating the access token. I have created virtual host in wamp.
    Also also tried to go to the permalinks settings page and save it.
    please help

  10. Dheeraj Shetty

    Hi Claude I get the following error message after allowing access to my site

    An error has occured while updating the access token, please try again.
    Error message: missing required parameters, includes an invalid parameter value, parameter more than once. : Unable to retrieve access token : appId or redirect uri does not match authorization code or authorization code expired (invalid_request)

    My site address is
    WordPress Address (URL)

    1. Claude Vedovini Post author

      usually it’s because the redirect_uri you registered is wrong or you have the incorrect settings for “home url” in the WordPress general settings


Leave a Reply

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