Automatic social media publishing: approvals and API limits

Automatic social media publishing works reliably when it is not a standalone scheduler but the last step of an approval process. The system should publish exactly the version someone approved, at a time the platform allows, and write the result – a link to the post or an error – back to the post record.

The official interfaces of Facebook, Instagram, LinkedIn and TikTok all allow publishing via API. Each of them, however, has its own conditions: roles and permissions, media format and hosting, time windows and, for some, app approval. Below you will find what to check before connecting accounts, how to design the flow from approval to publication and how to prevent duplicates and silent failures.

Why scheduling a post is not enough

In many companies, the text is written in a document, comments arrive in a chat and someone copies it into the scheduler by hand. Scheduling itself is not the problem. The problem is that nobody can say for sure which version was approved and whether it actually went out.

The foundation is therefore one record per post and clear states:

  • Draft – the text, media and target networks are still changing.
  • Awaiting approval – the content is locked and waits for the responsible person’s decision.
  • Approved and scheduled – the exact version, networks and publication time are known.
  • Published – the system has stored the ID and link returned by the platform.
  • Error – publishing failed; both the reason and the person handling it are known.

One rule prevents most problems: any change to the text or media after approval sends the post back for approval. Otherwise a version nobody has seen may go live.

What each platform requires

The following conditions are based on current developer documentation. Platforms change them, so check them again before any larger change to your process.

Facebook Page

A Page post is published with a Page access token and permissions that include pages_manage_posts, plus publish_video for video. The app user must be able to perform the CREATE_CONTENT, MANAGE and MODERATE tasks on the Page (Meta: Pages API – Posts).

The publication time of a scheduled post must be between 10 minutes and 30 days from the API request. An app can only update a post that it created itself.

Instagram

Instagram publishes via API to professional accounts in two steps: first a media container is created, then it is published. Meta fetches media supplied by URL during the publishing attempt, so the files must sit on a publicly accessible server at that time. JPEG is the only supported image format (Meta: Instagram Content Publishing).

A container that is not published within 24 hours expires. The number of posts published via API is capped within a moving 24-hour window; content_publishing_limit shows current usage, and Meta recommends that apps which schedule posts also enforce the limit themselves. If the connected Page starts requiring PPA, publishing stays blocked until the user completes it; Meta therefore recommends completing PPA in advance.

LinkedIn company page

Posting on behalf of an organization requires the w_organization_social permission. The member who authorized the connection must hold the ADMINISTRATOR, DIRECT_SPONSORED_CONTENT_POSTER or CONTENT_ADMIN role on the page. Every request carries the Linkedin-Version header and older versions are switched off; at the time of writing, for example, the documentation warns that version 202511 will be sunset on 16 November 2026 (LinkedIn: Posts API).

When you share an article from your website, the Posts API does not fetch a preview from the URL – your integration must supply the title, description and thumbnail. The API does not support organic carousels; several images are published as a MultiImage post.

TikTok

Direct posting requires the app to be approved for the video.publish scope and the target user to authorize it. Until the API client passes an audit, all content it posts is visible only privately. Photos are supplied by URL from a verified domain, and before publishing you must fetch the creator’s current information, such as the available privacy levels (TikTok: Content Posting API – Direct Post).

Example: a blog article as a post on three networks

Illustrative example, not a real client. A manufacturing company publishes an expert article on its website once every two weeks and wants to share it on its Facebook Page, Instagram and LinkedIn. The posts are prepared by the marketing manager and approved by the managing director.

  1. When the article goes live, a record is created with a draft text for each network and a link with UTM parameters.
  2. The manager attaches a JPEG image at a public URL and adds a custom title, description and preview thumbnail for LinkedIn.
  3. The managing director receives a notification, reviews all three versions and approves them. This locks the content.
  4. The publication date is a few days away, within the allowed window, so the Facebook post can be scheduled directly on the platform. The system creates the Instagram container only shortly before the planned time so that it does not expire.
  5. After publication, the ID and link of each post are stored in the record. If a network returns an error, the record moves to the Error state and the manager receives a message with the reason.

If the managing director changes even a single word after approval, the post goes back for approval and the Facebook post already scheduled on the platform must be updated or cancelled there. Otherwise the original version goes out.

Step-by-step implementation

  1. Inventory of accounts and roles. List the networks, account types and who holds which role on each page. Authorize the connection through a person or role that stays in the company, and record who can renew it.
  2. States and approval rules. Decide who approves which type of content, whether one approver is enough and what happens when approved text changes.
  3. Templates per network. For each network, define the text length, media format and mandatory fields, such as the link preview for LinkedIn.
  4. Connection via official APIs. Use the official interfaces or a tool built on them, and check permissions, app approval and any audit. For a custom solution, API integrations help.
  5. Scheduling and time zone. Decide whether the platform or your own queue will do the scheduling, and always store the time together with its time zone.
  6. Duplicate protection. Each combination of post and network has one unique publishing key. If no response arrives, check the status first and only then retry. On Instagram, the container status PUBLISHED means the post is already live; Meta recommends checking the status once per minute for no more than 5 minutes (Meta).
  7. Error alerts. A missing permission, an exceeded limit, an expired container or a post visible only privately must end as a message to a specific person, not just in a log.
  8. Reporting. Store the ID, link, publication time and UTM campaign so that the available results can be matched later.

Scheduling on the platform, your own queue or an off-the-shelf tool?

The choice determines where the single source of truth about scheduled content lives and how changes after approval are handled.

Approach When it fits What to watch out for
Scheduling posts on the platform via API The content is ready in advance and the network supports scheduling via API, such as a Facebook Page. The allowed window (10 minutes to 30 days on Facebook). A change after approval must also be applied to the scheduled post.
Your own queue and publishing at the planned time Several networks, last-minute changes and a single source of truth in the content calendar. The scheduler must run reliably and be monitored. Create the Instagram container only shortly before publishing.
Off-the-shelf social media management tool Your process matches the tool’s approval flow and you do not need a deeper connection to your website or online shop. Check the supported networks and formats, approval rules and data export. You add another tool with its own access accounts.

Trade-offs to plan for

  • More automation means less manual work, but also more places where a change on the platform side can stop the process. Plan for regular maintenance.
  • Strict approval protects the brand but slows down your reaction to current events. Quick posts can follow a shorter path with a single approver.
  • One text for all networks saves time, but the formats and limits of the networks differ. Small adjustments for each network are usually worth it.

If publishing should connect to further steps, such as new products in an online shop or internal tasks, you are already looking at broader process automation.

Common mistakes

  • Approval happens in a chat, but publishing uses a different copy of the text.
  • The text is edited after approval without a new approval.
  • The connection is authorized through a person who loses their role or leaves, and publishing then fails on missing permissions.
  • Images sit on private storage or are in a format that Instagram does not accept.
  • After an outage, the request is repeated without a status check and a duplicate post appears.
  • An article is shared on LinkedIn without its own title, description and thumbnail.
  • TikTok is tested with an unaudited app and the team is surprised that the posts are not public.
  • Nobody tracks the sunset dates of API versions.

Pre-launch checklist

  • Every post has one record, a state and a responsible person.
  • Any change after approval automatically requires a new approval.
  • Page roles and app permissions are documented, including who renews them.
  • Media are in formats the given network supports and are available at a public URL.
  • Times are stored with a time zone and respect the platforms‘ windows.
  • Every publication has a unique key and the status is checked before any retry.
  • Errors end with an alert to a specific person.
  • Stored links and UTM parameters make later reporting possible.
  • For the first weeks after launch, someone checks every publication.

Frequently asked questions

Can AI write posts and publish them automatically as well?

Technically yes, but I recommend letting AI prepare drafts and publishing only after a person has approved them. Especially for new types of content, prices or statements on behalf of the company, approval is cheaper than correcting a published post.

What happens when publishing fails?

The post moves to the Error state and the responsible person receives a message with the reason, such as a missing permission or an exceeded limit. Before retrying, the system checks whether the post went out after all. For important posts, it pays to have a manual fallback procedure as well.

Does the connection need approval from the platform?

It depends on the network. For Instagram, Meta distinguishes the Standard Access and Advanced Access levels and requires specific publishing permissions. TikTok shows content from unaudited clients only privately until the app passes an audit. LinkedIn requires an organization permission and a role on the page. So check the scope before you design the solution.

Can a published post be corrected via the API?

On a Facebook Page, an app can only update a post that it created itself. So make corrections through the same system that publishes, and keep the post ID in the record. For other networks, check the editing options in the documentation of the specific API.

Next step

If you want your content calendar, post approval, publishing and reporting to work as one flow, take a look at social media automation. I first review your networks, roles and current process and then propose a first phase. Write to me about how you prepare and publish content today.

Sources

Choose which cookies to allow. You can change your choice at any time using the footer link or cookie button.

Privacy policy and cookie details