Skip to content

Instagram get media API: GET /{ig-media-id}

When PubNio calls Instagram's get media request, GET /{ig-media-id}: the scopes it needs, the errors PubNio handles for it, and its pinned spec revision.

PubNio calls Instagram’s GET /{ig-media-id} (IGMedia#get) to confirm a published Instagram post and read its permalink.

How PubNio calls it

  • Confirming a delivery: PubNio reads the result back after the write, and again when POST /api/v1/posts/{postId}/targets/{targetId}/reconcile rechecks an unresolved delivery.
  • PubNio asks for id, owner, and permalink, and accepts the post only when the ID matches and owner.id is the connected account.
  • A permalink is kept only when it is an https URL without credentials; otherwise the delivery is published without a link.

Scopes

Errors

No error page names this call; see Instagram error codes.

Spec and changes

IGMedia#get in the pinned spec, revision 5c1fa8a1653722b402133f033fcc321d67981bbd.

Refreshed by hand: no weekly change record.

Limits

  • A failed read leaves the delivery unconfirmed; PubNio does not treat it as a missing post.

Sources

Type to search…

↑↓ navigate↵ selectEsc close