Tips, Tricks & Best Practices

VKalashnikov
メンバー

LinkedIn feed on the website

解決

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件の承認済みベストアンサー
TomM2
解決策
ソートリーダー | Platinum Partner
ソートリーダー | Platinum Partner

LinkedIn feed on the website

解決

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 meeting

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


元の投稿で解決策を見る

4件の返信
saurabh30791
参加者

LinkedIn feed on the website

解決

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 いいね!
bsm007
トップ投稿者

LinkedIn feed on the website

解決

Thanks!

0 いいね!
bsm007
トップ投稿者

LinkedIn feed on the website

解決

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 いいね!
TomM2
解決策
ソートリーダー | Platinum Partner
ソートリーダー | Platinum Partner

LinkedIn feed on the website

解決

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 meeting

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