How to Add An Instagram Feed to Your Website? Solution with Cron Job!
Due to numerous requests from our customers, in the new update of Instagram Carousel Feed Photos Hashtag & User Prestashop Module , we have added a function that allows you to create a cron task. Why this function was added: since after updating the Instagram API, the automatic uploading of images directly to the front office (without the client's authorization in the social network) provoked blocking and the pictures were not displayed, we had to add an update of the pictures in the module configuration (back office) by clicking on button.
After the innovation, our clients reacted with understanding to the situation, but after using it, they noted that it was not advisable to update the pictures on their own. In this regard, the ability to create a cron task has been added, the link to the task is displayed immediately in the module settings.
Take cPanel, a tutorial on how to add a new task, for example:
- Log into your hosting control panel.
- In the "Advanced" section, click Scheduled Tasks
- In the General parameters field, set the period for the task execution, and in the Command field, enter the command to run to be executed. After setting up and filling in all the fields, click Add New Scheduled Task. After adding a task, the pictures will be updated on their own.
Chat with us on WhatsApp