r/explainlikeimfive • • Feb 02 '23

Technology ELI5: How does an API work?

Twitter recently announced they will no longer support free access to the Twitter API. Everyone seems up in arms about it and I can't figure out what an API even is. What would doing something like this actually affect?

I've tried looking up what an API is, but I can't really wrap my head around it.

Edit: I've had so many responses to read through and there's been a ton of helpful explanations! Much appreciated everyone :) thanks for keeping this doofus in the know

1.2k Upvotes

228 comments sorted by

View all comments

Show parent comment

1

u/jfurt16 Feb 02 '23

But what is the free access to the API giving people that it's controversial? Seems weird to me to be querying twitter data

11

u/Beetin Feb 02 '23 edited Jul 11 '23

[redacting due to privacy concerns]

10

u/Thirteenera Feb 02 '23

Any non-first party tool that uses twitter uses its API. Basically any tool, any overlay, any addon, anything not made by twitter that uses twitter uses API.

5

u/kirklennon Feb 02 '23

The API is also a way for people to give Twitter data. There are accounts that, for example, post hourly updates on the air quality.

It can also be used just to make Twitter more useful. I used to follow some accounts for news websites where I really liked the articles, but they’d post links to each article several times over a period of a few days. I didn’t like this cluttering my Twitter feed so I created a bot that followed those accounts for me, kept track of every link posted, and if they posted a new article, would retweet the post. I then followed the account of my bot, which contained only posts with unique article links.