Fireship · @fireship

The sad truth about Twitter’s rate limit

Uploaded July 3, 2023 · Length 3:12

The sad truth about Twitter’s rate limit

Summary

Twitter implements rate limit and paywall due to unpaid Google Cloud bill and infrastructure migration.

  • twitter rate limit
  • google cloud bill
  • unpaid rent
  • infrastructure migration
  • twitter paywall
  • elon musk

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:00

    it is July 3rd 2023 and you're watching

  2. 0:03

    the code report in his latest 7D chess

  3. 0:05

    move Elon surprised Twitter users with

  4. 0:06

    some exciting new features first he

  5. 0:08

    decreed a rate limit for everyone on the

  6. 0:10

    platform non-blue checks get to look at

  7. 0:12

    600 tweets per day while paying members

  8. 0:14

    get to look it up to 6 000 tweets that

  9. 0:16

    may sound harsh but this is just some

  10. 0:18

    tough love from the Twitter King to help

  11. 0:19

    us beat off our social media addictions

  12. 0:21

    if you're having withdrawals though you

  13. 0:23

    can always count on a programmer with an

  14. 0:24

    anime profile image to save the day like

  15. 0:26

    this person who developed a chrome

  16. 0:27

    plugin that uses the old Twitter theme

  17. 0:29

    and bypasses the rate limit the second

  18. 0:31

    new feature is that Twitter shut off all

  19. 0:32

    public access to the website So

  20. 0:34

    currently you must be signed in to look

  21. 0:36

    at Tweets in other words Twitter is

  22. 0:37

    almost a full-blown paywall site now

  23. 0:39

    officially these new features were

  24. 0:40

    deployed on a Friday in a panic because

  25. 0:42

    too many Bots and web scrapers were

  26. 0:44

    accessing tweets with automated tools

  27. 0:46

    web scraping is an absolutely despicable

  28. 0:48

    practice and if you want to learn how to

  29. 0:49

    do it at an industrial scale check out

  30. 0:51

    this video on my second channel to add

  31. 0:53

    insult to injury Twitter went down for a

  32. 0:55

    while yesterday and it appears some bad

  33. 0:56

    JavaScript code made it into production

  34. 0:58

    that would call the API in an infant

  35. 0:59

    Blue from the client side resulting in a

  36. 1:02

    self-inflicted DDOS attack the thing is

  37. 1:04

    though real men test in production I was

  38. 1:06

    able to obtain exclusive access to this

  39. 1:07

    garbage code and what we have is a

  40. 1:09

    recursive async function that will catch

  41. 1:11

    and fetch forever but Twitter's been

  42. 1:12

    around for nearly 20 years at this point

  43. 1:14

    so why is web scraping all of a sudden a

  44. 1:16

    big problem well a couple months ago

  45. 1:17

    Twitter shut down access to its free API

  46. 1:20

    and made it way too expensive for any of

  47. 1:21

    us peasant level developers to access

  48. 1:23

    this move also inspired the Reddit CEO

  49. 1:25

    to strap on a set of balls and take his

  50. 1:27

    API pricing to the Moon to kill off

  51. 1:29

    third-party apps despite a massive

  52. 1:30

    failed protest the pricing went into

  53. 1:32

    effect yesterday and third-party apps

  54. 1:34

    like Apollo are officially dead let's

  55. 1:36

    take a moment of silence for those we

  56. 1:37

    lost

  57. 1:40

    foreign

  58. 1:42

    about this whole Twitter Fiasco is that

  59. 1:44

    I find it somewhat hard to believe that

  60. 1:46

    web scraping is the primary reason they

  61. 1:48

    would Implement such drastic changes

  62. 1:49

    especially because this would reduce

  63. 1:51

    advertising Impressions which is still

  64. 1:53

    by far its biggest source of Revenue if

  65. 1:54

    we do a little more research we'll find

  66. 1:56

    that Twitter had been refusing to pay

  67. 1:57

    its Google Cloud bill at least until

  68. 1:59

    recently Sundar had to hit up Elon via