Media Publish

This edge allows you to publish an IG Media object on an Instagram Business IG User by publishing its container. Use the POST /{ig-user-id}/media endpoint to create containers.

Creating

Publishing a Media Object

POST /{ig-user-id}/media_publish?creation_id={creation_id}

Publishes a IG Media object on an Instagram Business IG User. This endpoint is only available to partners in the Content Publishing API beta program.

Query String Parameters

Query string parameters are optional unless indicated as required.

  • {creation_id} (required) — the media object container's id returned by the /media edge.

Permissions

An access token of a Facebook User who is able to perform MANAGE or CREATE_CONTENT tasks on the Page connected to the Instagram User account, with the following permissions:

  • instagram_basic
  • instagram_content_publish
  • manage_pages

If the Page connected to the Instagram User has enabled two-factor authentication, the Facebook User must also have performed two-factor authentication or the request will fail.

Sample Request

POST graph.facebook.com
  /17841405822304914/media_publish
    ?creation_id=17889455560051444

Sample Response

{
  "id": "17920238422030506"
}

Reading

This operation is not supported.

Updating

This operation is not supported.

Deleting

This operation is not supported.