instagram/client

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

Instagram post client

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/instagram/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.