markdown guide
 

Hmm, I can't seem to add my URL. I get an error about an invalid url and a whitelisting issue. I guess toot.cafe needs to get whitelisted?

My URL is toot.cafe/@nickytonline

It's a legit Mastodon instance created by Nolan Lawson

I'm happy to throw up a PR of need be.

Your post also reminded me that Mastodon still exists ;)

 

I have the whitelisted error too for my own instance. :(

There's a lot of Mastodon instances, doing a whitelist is a terrible idea. Especially since the goal of Mastodon is to not put everyone in the same silo.

 
 
 

Awesome 🀩

But I get the message Mastodon url is not a whitelisted Mastodon instance for ruhr.social/@tim

Will it maybe better to accept the normal Mastodon notation (@tim@ruhr.social)?

 

It's a URL, did you include the protocol part? This uses the exact same validation as the website URL.

 

Yes. Here the URL I added:

https://ruhr.social/@tim

The only message which I get is:

Mastodon url is not a whitelisted Mastodon instance

PR created:

github.com/thepracticaldev/dev.to/...

But I also think that whitelisting is not a good idea. There are existing many instances with only one account. E.g. mastodon.ar.al/about

Merged.

We can consider other longterm solutions separate from whitelisting.

In the meantime, it might make sense to include a "more info" link in the error message about how to make a PR to whitelist an instance.

Classic DEV Post from Jun 19

Is GraphQL the future of APIs?

Graphs are everywhere! What are the main benefits of the data graph structure? Is GraphQL the future of APIs?

Michael Kohl profile image
Your friendly neighborhood anarcho-cynicalist. Taming bits and herding developers (aka engineering lead). Β―\_(ツ)_/Β― and (β•―Β°β–‘Β°οΌ‰β•―οΈ΅ ┻━┻) are my two natural states.