PHP code example of chill-pills / laravel-instagram-basic-feed

1. Go to this page and download the library: Download chill-pills/laravel-instagram-basic-feed 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/ */

    

chill-pills / laravel-instagram-basic-feed example snippets


    protected function schedule(Schedule $schedule)
    {
        $schedule->command(InstagramCrawlFeed::class)->hourly();
        $schedule->command(InstagramRefreshAccessToken::class)->monthly();
    }
bash
php artisan instagram-feed:get-authorization-url
bash
php artisan instagram-feed:setup-new-access-token <authoriczation-code>
bash
php artisan instagram-feed:crawl
php artisan instagram-feed:refresh-key
bash
php artisan vendor:publish --tag=instagram-basic-feed-view