Skip to content

IG Container

Justin Stolpe edited this page Nov 15, 2022 · 5 revisions

Get info on a media container responsible for publishing and Instagram post.

use Instagram\Container\Container;

$config = array( // instantiation config params
    'container_id' => '<CONTAINER_ID>',
    'access_token' => '<ACCESS_TOKEN>',
);

// instantiate the container for use
$container = new Container( $config );

// get info on the container
$containerInfo = $container->getSelf();
Clone this wiki locally