Actions65
- Posts Actions
- Company Pages Actions
- Get Company Page
- Get Company Pages
- Update Company Page
- Get Company Page Followers
- Get Company Page Analytics
- Get Company Page Posts
- Create Company Page Post
- Get Company Page Insights
- Get Company Page Engagement
- Get Company Page Demographics
- Get Company Page Content
- Get Company Page Events
- Create Company Page Event
- Get Company Page Jobs
- Get Company Page Lifecycle
- Advertising Actions
- Get Ad Accounts
- Get Ad Account
- Get Campaigns
- Get Campaign
- Create Campaign
- Update Campaign
- Delete Campaign
- Get Ad Sets
- Get Ad Set
- Create Ad Set
- Update Ad Set
- Delete Ad Set
- Get Ads
- Get Ad
- Create Ad
- Update Ad
- Delete Ad
- Get Audiences
- Get Audience
- Create Audience
- Update Audience
- Delete Audience
- Get Lead Gen Forms
- Get Lead Gen Form
- Create Lead Gen Form
- Update Lead Gen Form
- Delete Lead Gen Form
- Get Ad Analytics
- Get Campaign Analytics
- Get Ad Set Analytics
- Search Actions
Posts → Get Trending Posts
AI-generatedOverview
The node integrates with LinkedIn's API to perform various operations related to LinkedIn posts, including creating, retrieving, updating, deleting, and interacting with posts. Specifically, the "Get Trending Posts" operation fetches a list of currently trending posts on LinkedIn. This is useful for marketers, social media managers, or analysts who want to monitor popular content trends on LinkedIn to inform their content strategy or engagement efforts.
Practical examples:
- A marketing team can use this operation to automatically gather trending posts to analyze what topics are gaining traction.
- Social media tools can display trending LinkedIn posts within dashboards to keep users informed about current popular discussions.
- Content creators can identify trending themes to tailor their posts for better visibility.
Properties
| Name | Meaning |
|---|---|
| Max Results | Maximum number of results to return. Accepts values from 1 to 100. |
| Start Index | Index of the first result to return, used for pagination. Minimum value is 0. |
These properties control how many trending posts are retrieved and from which starting position in the result set.
Output
The output is an array of JSON objects representing LinkedIn posts that are currently trending. Each item corresponds to one post and contains all relevant data returned by the LinkedIn API for trending posts.
The exact structure of each post object depends on LinkedIn's API response but typically includes fields such as post ID, author information, text content, media attachments, engagement metrics, timestamps, and visibility settings.
No binary data output is indicated for this operation.
Dependencies
- Requires an active subscription and valid API key credential for the external "N8N Tools API" service.
- Requires OAuth2 credentials for LinkedIn API access.
- The node uses the "N8N Tools API" to validate the subscription and API key before making LinkedIn API calls.
- Proper configuration of these credentials in n8n is necessary for successful execution.
Troubleshooting
- Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly configured and active.
- API rate limits or permission errors: Ensure that the LinkedIn OAuth2 credentials have sufficient permissions to access post data.
- Empty or incomplete results: Check the "Max Results" and "Start Index" parameters to ensure they are set appropriately.
- Network or connectivity issues: Confirm that the n8n instance has internet access and can reach both the N8N Tools API and LinkedIn API endpoints.
Links and References
- LinkedIn Marketing Developer Documentation
- N8N Documentation - Creating Custom Nodes
- N8N Tools API (generic reference) (replace with actual URL if available)