{note} Instagram has changed the data structure. If you no longer get a feed, this update should fix the problem.
- Adaptation to the recent changes in the data structure of Instagram.
{note} Instagram has changed the data structure. If you no longer get a feed, this update should fix the problem.
- Adaptation to the recent changes in the data structure of Instagram.
- Set referrer in proxy requests.
- Set plugin version in proxy requests.
- New tag structure v3.
- Refactored parsers to generalize it more and make it easier to adapt to new structures in the future.
{note} Instagram has changed the data structure on 06/01/2022. Without this update, the plugin will no longer work.
- Adaptation to the changes in the data structure of Instagram on 06/01/2022.
- Craft CMS 4 compatibility
- Option to cache invalidate Instagram data only
- Settings page indicates if a setting is overwritten by config file
- Requires Craft CMS >= 4.0 and php >= 8.0
- If an image could not be fetched, the post is not displayed anymore
- Input validation for shortcode. (#59)
- Missing error message when saving empty account name in settings
- Validate Instagram account name
- Remove config setting for individual user agent
- Add PHP 8 to composer version constraint.
- Removed file_get_contents() and always use Guzzle for all requests.
- Changed link to new documentation.
- If you use a volume to store the images, the first time displaying the images failed.
- In a scenario, where the image files already exists on the volume but without an asset entry in Craft, the files on the volume will be deleted and downloaded again.
- In some cases, you get the old tag structure. So we accept both now.
- Instagram has changed the structure of the tag data. We have updated the code accordingly.
- We made the plugin compatible to older Craft versions again. Changed the required version back to >= 3.0.0.
- We now require Craft >= 3.5.0.
{note} Since the end of April 2021, Instagram sets the "cross-origin-resource-policy" header to "same-origin" to all their images, which means that your browser is not allowed to load the images inside another website which is not "instagram.com". Starting with this release of the plugin we download, store and serve the images locally. This may have an impact on your website, and you should read the sections "Local storage" and "Blocked requests" carefully.
- Downloading and storing the Instagram images locally to either Craft's storage path or a volume and path you can configure.
- New keys
imageSource
andthumbnailSource
in the array of posts, that hold the original image URLs from Instagram. - New key
asset
in the array of posts, that is an asset element of the Instagram image stored on a volume (only available when using a volume to store the image).
- The keys
src
,thumbnail
andimage
in the array of posts now have URLs pointing to your local copy of the images, which the plugin has downloaded and stored on your server.
- Fixed videos without information about having an audio.
- Enable environment variables for setting username (thanks to @niektenhoopen)
- Add rel noopener and noreferrer properties to links in the README (thanks to @JayBox325)
- Add full image URL attribute.
- Add hasAudio attribute.
- Prevent request storm if no items are cached and the request failed.
- Set default timeout for requests from 5 to 10 seconds.
- Fixed background color of icon
- Add trailing slash to all requests
- Prevent empty user agent strings
- Fixed some typos
- Catch all exceptions from Guzzle requests
- Switch to write a dump file of the response from Instagram
- Switch to use a proxy (beta)
- Improve documentation
- HTTP headers send with file_get_contents
- Settings in CP could not be saved due to a validation rule.
- Handle Instagram error response and return empty feed.
- Fixed timeout for file stream (float not microseconds).
- Timestamps of the photos (thanks to @devotoare)
- Timeout fetching the Instgram page, default to 5 seconds, can be changed in the config file (thanks to @mhayes14)
- Support for hashtags (thanks to @JeroenOnstuimig)
- Function to return configured account name
- Guzzle http client
- Debugging Output (log level debug)
- Some typos (thanks to @ryanpcmcquen)
- Captions of posts
- Overwrite account name on function call
- Add some more logging
- Cache account data by account name
- Initial release