laravel 3 years ago
php-based framework #Web Development

Add Instagram Feed to a Laravel Site

After the recent termination of the legacy Instagram API, I had to replace the Instafeed.js Instagram feed that was on my website. The problem came with the new authentication that Instagram forced so the setup is now different and a person needs to interact with the flow so it approves the application at least once.

The way that the new Instafeed.js plugin recommends is to use third-party software that you need to host on Heroku to refresh the tokens but that sounded like too much work for me, especially since my website is custom built with Laravel and I can implement the token refresh locally without the need to maintain another service.


So no matter if you are replacing a feed that no longer works, or you just now implement it for the first time, this video can help you to add Instagram to your website so the posts can be shown.


The package that I use in this video is called Laravel Instagram Feed and you can find it on the link below:The package that I use in this video is called Laravel Instagram Feed and you can find it on the link below:

https://github.com/Dymantic/laravel-instagram-feed



Laravel
by taylor otwell