DavidLibeau/mastodon-tools

HTTPS forced Mastodon instance

Closed this issue · 3 comments

CURL didn't work. 🤕

https forced:
[mastodon url="https://mastodon.social/@Gargron/1"][/mastodon]

To explain a bit more, on some instances, HTTPS is forced. When you connect without SSL, you are redirected with a 301 Moved Permanently on the same page but with HTTPS.

The issue come with CURL. It doesn't want to CURL the page without a secure connection. So it just returns false. 😢

Fixed with 1.3 of the Wordpress plugin