Skip to content

IG Container

Justin Stolpe edited this page May 21, 2022 · 5 revisions

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

Code

use Instagram\Container\Container;

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

// instantiate the container for use and get info
$container = ( new Container( $config ) )->getSelf();
Clone this wiki locally