PHP code example of nineteensquared / instagram

1. Go to this page and download the library: Download nineteensquared/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/ */

    

nineteensquared / instagram example snippets

 artisan vendor:publish --tag=instagram-config

{{ instagram limit="6" as="ig" }}
    <div>
        {{ ig }}
            <a href="{{ permalink }}" >
                <img src="{{ thumbnail_url ?? media_url }}" alt="{{ caption }}" />
            </a>
        {{ /ig }}
    </div>
{{ /instagram }}