Instagram has started blocking IP address ranges, you can no longer pull data automatically. A manual update option has been added.
Manually Update Instructions
- Upload Instaflow_updater.php to your server
- Change the access password
- Navigate to yourserver.com/Instaflow_updater.php
- Use the JS command to copy the JSON from Instagram, paste it in the form and save
- Your feed should now show on your website
Super simple way to add Instagram photos to any website
Download the PHP, Javascript and CSS, then include it in your HTML:
<link rel="stylesheet" href="Instaflow.css" />
<script type="text/javascript" src="Instaflow.js"></script>
The PHP script acts as a cache so your requests dont overuse Instagrams servers.
$username = "instagram";
Instaflow({
target : '.instagram', // <div> class to insert
}).load();
View a live demo here: http://codeeverywhere.ca/demos/instaflow/
1.1.2 (May 10, 2020)
- Manual update option added
1.1.1
- Updated obj paths
1.1
- Moved username server-side
- Fixed Regex
1.0
- Initial release
MIT