There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Technical question: how can I find out what type of server (Mastodon/Pixelfed/Firefish/Peertube/etc) a site is running on?

While working on Fedimojis, I’d like to check that the link entered by the user is actually a Mastodon server, to avoid bugs or loading thousands of emojis from Pixelfed instances that don’t distinguish between local and external emojis.

How can I do this?

maddy ,
@maddy@lemmy.blahaj.zone avatar

Most software responds to /.well-known/nodeinfo with this info iirc

retiolus OP ,
@retiolus@lemmy.cat avatar

Okay! So you first need to check /.well-known/nodeinfo to get /nodeinfo/2.0.json!

In the case of Pixelfed it’s in /api/nodeinfo/2.0.json

aliceif ,

@retiolus pretty much all software should be implementing nodeinfo: https://github.com/jhass/nodeinfo
usually reachable via HTTP on an endpoint like url/nodeinfo/2.0.json

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines