instagram/client

This package is abandoned and no longer maintained. No replacement package was suggested.

Instagram post client

1.0 2016-08-31 11:03 UTC

This package is auto-updated.

Last update: 2022-03-29 00:44:59 UTC


README

Install with composer

composer require instagram/client

Example

use Instagram\Instagram;

require __DIR__.'/vendor/autoload.php';

$instagram = new Instagram();
$instagram->login([
    'username' => $_POST['username'],
    'password' => $_POST['password']
]);

$results = $instagram->upload([
    'caption' => $_POST['caption'],
    'tmp_image' => $_FILES['image']['tmp_name']
]);

var_dump($results);

License

This repo is under the MIT license.