Tips, Tricks & Best Practices

VKalashnikov
Membre

LinkedIn feed on the website

Résolue

Hi everyone! 
Is that possible to add my company LinkedIn feed to the website so it add posts automatically as we are posting them?

1 Solution acceptée
TomM2
Solution
Leader d'opinion | Partenaire solutions Platinum
Leader d'opinion | Partenaire solutions Platinum

LinkedIn feed on the website

Résolue

Hi  @VKalashnikov 

Linkedin currently doesn't provide an embed code for an entire feed to add to a website. They only provide embed codes for individual posts. 
Looking online though it seems there are some third party tools which can help provide a feed embed code for your website, I found a helpful list here too which might help! 

Tom Mahon
Technical Consultant | Solutions Engineer | Community Champion
Baskey Digitial

Book a consultation

Did my post help answer your query? Help the community (and me) by marking it as a solution.


Voir la solution dans l'envoi d'origine

5 Réponses
kelseyj0786
Membre

LinkedIn feed on the website

Résolue

Yes its very easy to add your company's LinkedIn feed to your website and have it update automatically as new posts are made, you typically have a few options:

  1. LinkedIn Developer API: LinkedIn provides an API (Application Programming Interface) that allows developers to retrieve and display LinkedIn feed content programmatically. By using this API, you can fetch posts from your company page and display them on your website. This method requires some programming knowledge to integrate the API into your website's backend.

  2. Third-Party Widgets and Plugins: There are third-party tools and plugins designed specifically to embed LinkedIn feeds on websites. These tools often provide a user-friendly interface where you can authenticate with LinkedIn, customize the appearance of the feed, and embed it into your website. Examples include Tagembed, Taggbox, Elfsight and others that you've mentioned earlier.

  3. RSS Feeds: LinkedIn also provides RSS feeds for company pages. You can use these RSS feeds to fetch and display LinkedIn posts on your website. While this method may require less development effort compared to using the API directly, it typically offers fewer customization options.


Here's a basic approach using these methods:

  • Using LinkedIn API:

    • Register your application with LinkedIn Developer Network.
    • Use OAuth 2.0 for authentication.
    • Retrieve posts using API endpoints.
  • Using Third-Party Widgets:

    • Sign up with a service like Tagembed or Taggbox.
    • Authenticate with your LinkedIn account and select your company page.
    • Customize the feed's appearance (e.g., layout, design).
    • Copy the embed code provided and embed LinkedIn it to your website.
  • Using RSS Feeds:

    • Find your company's RSS feed URL on LinkedIn (usually in the settings of your company page).
    • Use a RSS feed reader or parser to fetch and display the feed on your website.
    • Style the feed using CSS to match your website's design.

 

Each method has its advantages depending on your technical expertise, customization needs, and desired level of integration with your website. If you're not comfortable with coding, third-party widgets or plugins might be the easiest solution. If you need more control and flexibility, using the LinkedIn API directly might be preferable despite requiring more development effort.

0 Votes
saurabh30791
Participant

LinkedIn feed on the website

Résolue

Yes, it's definitely possible to add your company's LinkedIn feed to your website so that new posts are automatically displayed as you publish them on LinkedIn. LinkedIn provides APIs (Application Programming Interfaces) that allow developers to fetch and display content from company pages. Typically, this involves setting up API access, retrieving the posts in a structured format (usually JSON), and then integrating this data into your website using web development techniques such as JavaScript or server-side scripting.

Here’s a general outline of the steps involved:

  1. Access LinkedIn API: You'll need to create a LinkedIn Developer account and register your application to get API access.

  2. Retrieve Company Posts: Use the LinkedIn API to fetch posts from your company page. This can be done using endpoints provided by LinkedIn for company updates.

  3. Format and Display: Once you retrieve the posts (usually in JSON format), you can format them according to your website's design and display them using HTML, CSS, and JavaScript.

  4. Update Frequency: Implement a mechanism to fetch new posts to keep your website content up-to-date periodically.

  5. Authentication and Permissions: Ensure your website's integration with the LinkedIn API handles authentication securely and respects LinkedIn's API usage policies.

If you have web development experience or access to a developer, they should be able to assist you in setting this up and quickly adding LinkedIn posts to the website.

0 Votes
bsm007
Contributeur de premier rang

LinkedIn feed on the website

Résolue

Thanks!

0 Votes
bsm007
Contributeur de premier rang

LinkedIn feed on the website

Résolue

I am looking for this as well. I asked ChapSpot how to do this and it provided this output to access the LI API -- I am trying to figure it out, but I am stuck on step 6 currently.

 

To embed your LinkedIn feed on your website, you can use the LinkedIn Developer Platform. Here's a step-by-step guide to help you get started: 1. Sign in to your LinkedIn account and go to the LinkedIn Developer Platform website: [https://www.linkedin.com/developers/](https://www.linkedin.com/developers/). 2. Click on the "My Apps" dropdown menu and select "Create App". 3. Fill in the required fields such as the App Name, Description, and Website URL. Make sure to choose the appropriate "App Use" option based on your website's purpose. 4. Once your app is created, you'll be redirected to the app's dashboard. Under the "Authentication" tab, note down the "Client ID" and "Client Secret" values. 5. Next, go to the "Products" tab and click on "Add Products". Select "Sign In with LinkedIn" and "Apply". 6. After adding the product, go to the "Auth" tab and enable the "r_liteprofile" and "r_emailaddress" permissions. 7. Save your changes and go to the "Development" tab. Under the "Authorized Redirect URLs" section, add the URL of your website where you want to embed the LinkedIn feed. 8. Now, you need to implement the LinkedIn JavaScript SDK on your website. Add the following code snippet to the `` section of your HTML file:


html
Copy code
<script src="https://platform.linkedin.com/in.js" type="text/javascript"> lang: en_US</script>

9. To display your LinkedIn feed, add the following code snippet where you want the feed to appear on your website:


html
Copy code
<script type="text/javascript">  function onLinkedInLoad() {
    IN.User.authorize(function () {
      IN.API.Raw("/people/~:(id,first-name,last-name,email-address,picture-url,public-profile-url)?format=json")
        .result(function (data) {
          // Process the data and display your LinkedIn feed
        });
    });
  }</script>

10. Finally, call the `onLinkedInLoad()` function when the page loads by adding the following code snippet just before the closing `` tag:


html
Copy code
<script type="text/javascript">  window.onload = function () {
    onLinkedInLoad();
  };</script>

Remember to replace the comment in step 9 with your own code to process the data and display your LinkedIn feed as desired. That's it! Your LinkedIn feed should now be embedded on your website.

0 Votes
TomM2
Solution
Leader d'opinion | Partenaire solutions Platinum
Leader d'opinion | Partenaire solutions Platinum

LinkedIn feed on the website

Résolue

Hi  @VKalashnikov 

Linkedin currently doesn't provide an embed code for an entire feed to add to a website. They only provide embed codes for individual posts. 
Looking online though it seems there are some third party tools which can help provide a feed embed code for your website, I found a helpful list here too which might help! 

Tom Mahon
Technical Consultant | Solutions Engineer | Community Champion
Baskey Digitial

Book a consultation

Did my post help answer your query? Help the community (and me) by marking it as a solution.