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:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 1 year ago* (last edited 1 year ago) (3 children)

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?!

[–] deafboy 6 points 1 year ago

I bet it just ends up in some poor bastards mailbox anyway. :)

[–] [email protected] 5 points 1 year ago

Just send it with both "discord" and "discordUsername" for compatibility.

[–] [email protected] 1 points 1 year ago

You could have different versions of the API that have a different requirements.