PHP code example of genxbe / kirby3-instagram
1. Go to this page and download the library: Download genxbe/kirby3-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/ */
genxbe / kirby3-instagram example snippets
# site/config/config.php
return [
'genxbe.instagram' => [
'client_id' => '',
'client_secret' => '',
'assetFolder' => 'instagram',
'mediaFolder' => 'media',
'db' => 'instagram.json',
],
];
<h1><?= $page->title()
*/30 * * * * cd /home/website/website.com/ && php site/plugins/kirby3-instagram/fetch.php