Does anyone know of a potential perl snippet that would be able to toot something to a fediverse account? I'd be interested to build on that. :)
@rhonda I've heard of the python module (I package it for Debian) but not for perl.
@rhonda Not Perl, but seeing as it's pretty simple via cURL, it should be easy via LWP too:
curl -H'Idempotency-Key: $RANDOM' -H'Aut
horization: Bearer $APIKEY' -d'status=$TEXT' -d'visibility=public' https://$INSTANCE/api/v1/statuses
@pludikovsky That sounds perfect, LWP::UserAgent to the rescue™ :)
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!