I’m using curator.io for making a feed for my glide app. The feed contains Instagram posts from an account. Currently the feed only refreshes/updates every 24 hours, but I want to make this every hour. I was wondering if this was possible with maybe Javascript or something else.
Note: I’m getting the feed into my glide app with an HTML.
My HTML file (The source for my feed):
<!-- Place <div> tag where you want the feed to appear -->
<div id="curator-feed-default-feed-layout"><a href="https://curator.io" target="_blank" class="crt-logo crt-tag">Powered by Curator.io</a></div><!-- The Javascript can be moved to the end of the html page before the </body> tag --><script type="text/javascript">
/* curator-feed-default-feed-layout */
(function(){
var i,e,d=document,s="script";i=d.createElement("script");i.async=1;i.charset="UTF-8";
i.src="https://cdn.curator.io/published/66bef0b8-a238-45ab-9951-51ccb4b07df8.js";
e=d.getElementsByTagName(s)[0];e.parentNode.insertBefore(i, e);
})();
</script>
I have tried updating the HTML file with this command:
setTimeout(function(){
window.location.reload();
}, 5000);
However, this only updates the HTML file but doesn’t update the feed. How can I update the feed and look for new Instagram posts every hour?