Take automatic screenshots of a website and send it to WhatsApp or Facebook Messenger I am trying to automate the process of "sending the screenshots of a monitoring tool dashboard to my WhatsApp number" at regular intervals.

So far I have achieved the following:


Automated the screenshot taking using pageres-cli
Integrated the same with SMTP server using postfix


Now I also want to send these screenshots to my Whatsapp group or Facebook messenger group. How can I achieve this?
In case the requirement for Whatsapp/Facebook is not mandatory, you could consider using a solution offering an API for such things and targeted specifically for IT teams.

For example, Slack channels allow uploading files through Slack's API and sharing files in channels.

Documentation: https://api.slack.com/methods/files.upload

For a ready CLI stub, consider for example slackcat.