I’m in Alma, NB, Canada 🇨🇦  |  ☀️ It’s 21° at 2:47pm

Articles

There are 2 articles with a tag of WebDevelopment.

Using PHP and cURL to post media to the Mastodon API

Screenshot of Mastodon update with media attached A couple of years ago I posted the most popular article on the site on how to use PHP and cURL to post to the Mastodon API. Since then I’ve been meaning to post a follow-up -on how to post media and finally it’s here.

Continue reading...

Using PHP and cURL to post to the Mastodon API

Screenshot of Mastodon web interface As my distaste for Twitter has grown over the last while I decided to see if I could deploy my own instance of Mastodon, a federated, distributed social network. Turns out I had my instance up and running in just a few hours using a $10 a month Digital Ocean Docker droplet and the handy Mastodon docker containers. It was way easier than I thought it would be and allowed to mess around with the API without causing too much havoc. I’ve long since moved to the indieweb.social instance, it has a much better local timeline and has an excellent admin. You can find me there at @chrisjonesio@indieweb.social.

Continue reading...

I don’t write too often anymore, but when I do, this is where you’ll find it.

Photographs, articles and notes are published when I feel like it. Learn more about subscribing to keep up-to-date.

Popular articles

  1. Using PHP and cURL to post to the Mastodon API
  2. Using PHP and cURL to post media to the Mastodon API
  3. Hiking the Liberty Lake Loop
  4. Late summer camping at Kejis Wil-Bo-Wil cabin
  5. Keji Site 22, May 2018