Guides & examples
LinkedIn Feed API Guides
Add public LinkedIn company posts to your website. Learn how the API works, or jump straight to the guide for your framework.
Get LinkedIn company posts as JSON
Understand your API options, connect an authorized Page, and fetch your first posts with JavaScript.
Pick a design. Copy a prompt.
Make it yours.
Explore six ways to display your company posts, with working previews and complete prompts for your AI website builder.
Explore designs and promptsChoose your framework
Each guide walks you through key setup, a complete working example, caching, and troubleshooting.
Next.js
Fetch posts in an App Router Server Component and keep your API key on the server.
React
Build a browser feed component with a publishable key, loading states, and safe retries.
Astro
Fetch posts at build time and publish a static feed with no client-side feed JavaScript.
Prefer to start with code?
Clone the complete Next.js, React, Astro, and plain JavaScript examples. Each project runs independently.
Looking for endpoints and response fields? Read the API documentation →



