PHP code example of scriptdevelop / instagram-api-manager
1. Go to this page and download the library: Download scriptdevelop/instagram-api-manager library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
scriptdevelop / instagram-api-manager example snippets
use ScriptDevelop\InstagramApiManager\Facades\Instagram;
// Enviar un mensaje / Send a message
Instagram::message()
->withAccessToken($token)
->withInstagramUserId($igId)
->sendTextMessage('RECIPIENT_ID', 'Welcome to Instagram API Manager!');