PHP code example of marcorieser / statamic-instagram
1. Go to this page and download the library: Download marcorieser/statamic-instagram 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/ */
marcorieser / statamic-instagram example snippets
Schedule::call(fn() => app(InstagramAPI::class)->refreshAccessToken())->weekly();
return app(\MarcoRieser\StatamicInstagram\InstagramAPI::class)
->setLimit(12)
->setHandle('rickastley')
->feed();