instagram / client
Instagram post client
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/instagram/client
Requires
- php: >=5.5
- josh/ibrowse: dev-master
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.