this post was submitted on 29 Jul 2023
635 points (98.8% liked)
Programmer Humor
32375 readers
547 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Mmm. It's not going to happen though. Even this company have failed at standardising their own API.
Key for twitter:
"twitter":
Key for discord:"discordUsername":
Why are they inconsistent?! Who wrote this? Who signed off on it?!
Oh, and for GitHub you provide a url but for twitter and discord it's just the username?! But the twitter handle has to be prefixed with
@
. Why?!I bet it just ends up in some poor bastards mailbox anyway. :)
Just send it with both "discord" and "discordUsername" for compatibility.
You could have different versions of the API that have a different requirements.