I Made a Twitter Bot That Grants People's Wishes

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ค. 2020
  • Code for all my videos is available at: github.com/sponsors/adumb-codes/
    How I made a Twitter bot that grants people's wishes. This tutorial covers the Twitter API, TH-cam API, and AWS.
    Useful resources used in this video:
    Twitter API: / docs
    TH-cam API: developers.google.com/youtube/v3
    Punctuation API: bark.phon.ioc.ee/punctuator
    AWS Lambda: aws.amazon.com/lambda/
    AWS SDK for JavaScript: docs.aws.amazon.com/sdk-for-j...
    #Coding #ComputerScience
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 357

  • @adamwiegand4578
    @adamwiegand4578 2 ปีที่แล้ว +1760

    I really want to tweet "I wish I knew how to make a twitter bot which grants people's wishes"

    • @dumbbass8867
      @dumbbass8867 2 ปีที่แล้ว +50

      Then tweet it

    • @Sho_mi
      @Sho_mi 2 ปีที่แล้ว +177

      @@dumbbass8867 bot is inactive

    • @dumbbass8867
      @dumbbass8867 2 ปีที่แล้ว +38

      @@Sho_mi aw that sucks. Oh well...

    • @Temerold_se
      @Temerold_se 2 ปีที่แล้ว +38

      @@dumbbass8867 dumm bass

    • @susmitdas
      @susmitdas 2 ปีที่แล้ว +42

      @Simon Exan Hey I found a better one th-cam.com/video/dQw4w9WgXcQ/w-d-xo.html

  • @QemeH
    @QemeH 2 ปีที่แล้ว +678

    Someone: "I wish I knew how to make it up to you honey"
    The bot: "Wish granted. Here's a make-up tutorial."

    • @BananaWasTaken
      @BananaWasTaken 2 ปีที่แล้ว +38

      Random Person: I wish I knew how to speak French
      DumbGenie: I know exactly what you want- here’s How to speak!
      Another Person: I wish I knew how to pull up Instagram Live on my tv
      The bot: Wish granted: how to pull up
      Different Person: I wish I knew how to get my hands on merch for hiromi
      The bot: Wish granted! How to get my hands on merch for hiromi: *links Radiance (from Hollow Knight) - Piano Tutorial*
      Person: I wish I knew how to describe Eddie’s voice bc it is one of the many wonders of this world
      The bot: Wish granted! How to describe eddies voice bc: *links Benedict Cumberbatch Can’t Say ‘Penguins*

    • @oof4077
      @oof4077 2 ปีที่แล้ว +7

      @@BananaWasTaken wow, you really searched up what the person said and put the results in.

    • @izme1000
      @izme1000 ปีที่แล้ว +6

      My result was how to make honey

    • @MalikEpik
      @MalikEpik ปีที่แล้ว

      @@izme1000 these videos are liers bees can only make honey

  • @railgun1258
    @railgun1258 2 ปีที่แล้ว +152

    7:56 “i wish i knew how to re fckn drive myself”
    Genie: *recommends a music video*

  • @unyx2528
    @unyx2528 2 ปีที่แล้ว +866

    This actually needs to find its way into people's recommended page

    • @trainjumper
      @trainjumper 2 ปีที่แล้ว +100

      Landed here from my recommended page- Looks like the youtube algorithm granted your wish :^)

    • @remty516
      @remty516 2 ปีที่แล้ว +5

      It is!

    • @tivitect
      @tivitect 2 ปีที่แล้ว +2

      Done

    • @scrambledmandible
      @scrambledmandible 2 ปีที่แล้ว +14

      WISH GRANTED

    • @Starnet234
      @Starnet234 2 ปีที่แล้ว

      Done

  • @mabila5967
    @mabila5967 2 ปีที่แล้ว +274

    "I wish I knew how to re fckn drive myself"
    Bot: Listen to music

  • @jamcdonald120
    @jamcdonald120 2 ปีที่แล้ว +40

    7:40 you could add caching for frequent wishs so you dont have to query the youtube api

  • @danielkurz7806
    @danielkurz7806 2 หลายเดือนก่อน +5

    Totally forgot how hard text comprehension for computers was before GPT was actually usable... damn

  • @quabey_
    @quabey_ 2 ปีที่แล้ว +365

    Cool project, sad to see that the Bot is inactive now.

    • @RubyPiec
      @RubyPiec 2 ปีที่แล้ว +24

      WAIT IT IS? I loved this bot

    • @creatureofvenice
      @creatureofvenice 2 ปีที่แล้ว +6

      yeah. looked really funny

    • @kirbosomething
      @kirbosomething 2 ปีที่แล้ว +2

      Uh why does it say 4 weeks and not 1 month

    • @quabey_
      @quabey_ 2 ปีที่แล้ว +24

      @@kirbosomething Because 4 weeks ≠ 1 month?

    • @RubyPiec
      @RubyPiec 2 ปีที่แล้ว +9

      @@kirbosomething 1 week = 7 days
      7*4=28
      1 month = 30
      This means it has been 28 or 29 days since this comment was out!

  • @svrem
    @svrem 2 ปีที่แล้ว +609

    This channel is so underrated

    • @BlackSalamander439
      @BlackSalamander439 2 ปีที่แล้ว +29

      To be fair it has 2 videos

    • @aristology6912
      @aristology6912 2 ปีที่แล้ว +9

      He only has two videos on his channel my guy

    • @mariotheundying
      @mariotheundying 2 ปีที่แล้ว +5

      @@aristology6912 for some reason I'm always surprised when I see a well edited and interesting video as the first video on a channel (with low video count)

    • @user-xs8uy2cg9p
      @user-xs8uy2cg9p 2 ปีที่แล้ว +1

      Yes

    • @EEEEEEEE
      @EEEEEEEE 2 ปีที่แล้ว +1

      E‎

  • @jacobrosset8450
    @jacobrosset8450 2 ปีที่แล้ว +30

    Your style is perfect for coding. Detailed but general enough to make it sound easy

  • @uno-theofficialcardgamebyMatel
    @uno-theofficialcardgamebyMatel 2 ปีที่แล้ว +19

    Random guy who caught on: "I wish I knew how to get drugs on the black market"

  • @infamousdword3198
    @infamousdword3198 2 ปีที่แล้ว +54

    I’m still waiting for someone to say *I wish I knew how to build an online brand.*

  • @KayJblue
    @KayJblue 2 ปีที่แล้ว +89

    Dang he’s gaining like 100 subs an hour Rn.

  • @DanDaManBaBam
    @DanDaManBaBam 2 ปีที่แล้ว +3

    Found you in my Recommended and you absolutely rock!

  • @Megaranator
    @Megaranator 2 ปีที่แล้ว +4

    this is so simple yet has so much potential, awesome job. Th e nesting of functions however... I guess that's one way to make it exit if it encounters problem

  • @mumujibirb
    @mumujibirb 2 ปีที่แล้ว +21

    I wish knew how to extend the fundamental sequences of the fast growing hierarchy to the Large Velben Ordinal.

    • @eddyo1254
      @eddyo1254 2 ปีที่แล้ว +1

      w h a t

  • @stellapratt4304
    @stellapratt4304 2 ปีที่แล้ว +24

    I love your videos please keep uploading!

  • @theholydoge7616
    @theholydoge7616 2 ปีที่แล้ว +3

    This popped into my recommended
    I was not disappointed
    Subbed

  • @crazzilla7203
    @crazzilla7203 2 ปีที่แล้ว +4

    Yo good stuff, 2 out of 2 videos are excellent, batting 100.

  • @tex6924
    @tex6924 2 ปีที่แล้ว +13

    "I wish I knew how to make my parents love me"

  • @ArooPC
    @ArooPC 2 ปีที่แล้ว +1

    good, simple to understand video with explanation, thank you

  • @Bluebird_YT
    @Bluebird_YT 2 ปีที่แล้ว

    Your videos have been in my recommended for a while

  • @wat2206
    @wat2206 2 ปีที่แล้ว +1

    This video was made 1 year ago…
    ONLY NOW WE WATCHING THIS?
    WHYYYY TH-cam?
    THIS GUY IS SOOOOO UNDERRATED

  • @pleasestopreadingthisnames4874
    @pleasestopreadingthisnames4874 2 ปีที่แล้ว +14

    seems like the algorithm granted my wish for seeing something cool

  • @chairger
    @chairger 2 ปีที่แล้ว +47

    Holy crap, this only has 2k views? This is so cool man, you deserve way more views and subscribers

  • @johnlin5550
    @johnlin5550 2 ปีที่แล้ว +2

    You're mic is pretty good for your channel size, hope you grow enough to get a really high quality one!

  • @porkkana.
    @porkkana. 2 ปีที่แล้ว

    This is actually a very good video with a great design, which seriously needs more than 5500 views!

  • @magicjack4076
    @magicjack4076 2 ปีที่แล้ว +4

    I feel like this video just hit the TH-cam algorithm lottery and will blow up

  • @octopodi8073
    @octopodi8073 2 ปีที่แล้ว +2

    Wow! A coding video I can kind of understand!

  • @MrMario501
    @MrMario501 2 ปีที่แล้ว +1

    I'm surprised this video doesn't have 100k views, it totally deserves it!

    • @ABexLaHex
      @ABexLaHex 2 ปีที่แล้ว

      You're in luck

  • @kinforr7764
    @kinforr7764 2 ปีที่แล้ว +4

    It's all fun and games until someone tweets "I wish I knew how to make a bomb"

  • @ethanpercival216
    @ethanpercival216 2 ปีที่แล้ว +1

    I love how right at the end of the video, it sent a music video as a wish

  • @wilemr1337
    @wilemr1337 2 ปีที่แล้ว +1

    Got it in my recommendations, I really hope more people do!

  • @prostoopid
    @prostoopid 2 ปีที่แล้ว

    This is AMAZING, hope you blow up soon :D

  • @ipez1042
    @ipez1042 2 ปีที่แล้ว +15

    This microphone is much better

    • @plantkillable8371
      @plantkillable8371 2 ปีที่แล้ว +2

      Agreed

    • @RubyPiec
      @RubyPiec 2 ปีที่แล้ว

      I wonder what happened, did he use the same mic, but it just got older?

    • @plantkillable8371
      @plantkillable8371 2 ปีที่แล้ว

      @@RubyPiec my mic changed its sound after taking a fall, so possibly...

  • @angelus428
    @angelus428 ปีที่แล้ว

    This is awesome. Tks a lot for sharing

  • @strogonoffcore
    @strogonoffcore หลายเดือนก่อน

    7:29 in order to order for Hiromi, you gotta do Hornet's questline so she can stun the Hollow Knight and scream GITGUD, then you enter their dream and the MÖTH will teach you
    also _where Silksong_

  • @finixHD
    @finixHD 2 ปีที่แล้ว +1

    7:32
    MS. Davis : "I wish I knew how to pull up instagram Live on my TV"
    AI: "How To Increase Your Pull-UPS"

  • @adammaxi
    @adammaxi 2 ปีที่แล้ว

    I swear this channel is so underrated

  • @I-h4t3-4ll-0f-y0u
    @I-h4t3-4ll-0f-y0u หลายเดือนก่อน

    7:40 "I wish I knew how to show people I care" is brutal.

  • @maulob1523
    @maulob1523 2 ปีที่แล้ว +2

    I wish I knew how to never gonna give you up.
    Bot: *rick roll*

  • @Husqy
    @Husqy 2 ปีที่แล้ว

    we need this guy back

  • @Valdaur
    @Valdaur 2 ปีที่แล้ว +1

    I wish this channel had more subscribers.

  • @NotAGMFrank
    @NotAGMFrank 2 ปีที่แล้ว +1

    If this doesn't blow up, shame on TH-cam's recommendation system.

  • @nathanoy_
    @nathanoy_ 2 ปีที่แล้ว

    The algorithm might bless you. cya i a year!
    very cool vid!

  • @kaabagaming4885
    @kaabagaming4885 2 ปีที่แล้ว +8

    this is absolutely genius

  • @dannyraede3974
    @dannyraede3974 2 ปีที่แล้ว +1

    Whelp looks like the algorithm has chosen you!

  • @kahveciderin
    @kahveciderin 2 ปีที่แล้ว

    commenting to boost the algorithm, keep it up!

  • @PokeChamp22
    @PokeChamp22 25 วันที่ผ่านมา

    “Some people use words like ‘lol’ like punctuation”, I feel called out lol

  • @kahveciderin
    @kahveciderin 2 ปีที่แล้ว +4

    5:54 what happens if no tweet was tweeted since the last tweet? On line 60, you seem to assume there is at least one tweet, won't that give an error when there is none? Well, it shouldn't matter as if there are no tweets to reply to, you simply can terminate but still

  • @luczoxz
    @luczoxz 2 ปีที่แล้ว

    Cool project!

  • @nak_attak
    @nak_attak 2 ปีที่แล้ว +3

    I see this channel getting extremely popular and slowly becoming one of the biggest coding channels on yt...

    • @Narwhyn
      @Narwhyn 2 ปีที่แล้ว

      It has two videos. I highly doubt it will slowly become one of the biggest coding channels.

    • @nak_attak
      @nak_attak 2 ปีที่แล้ว

      @@Narwhyn for it only having two videos, look how much bigger it is compared to the other million channels with two videos

    • @Narwhyn
      @Narwhyn 2 ปีที่แล้ว

      But you said it'll be one of the most popular, if he doesn't upload then it won't be.

    • @nak_attak
      @nak_attak 2 ปีที่แล้ว +1

      @@Narwhyn oh I didnt exactly see that he hasent uploaded in a year

    • @bannaboy5800
      @bannaboy5800 ปีที่แล้ว

      @@Narwhyn He recently uploaded if u wanna watch the video

  • @TheChefmike66
    @TheChefmike66 2 หลายเดือนก่อน

    Cool! Very interesting.

  • @Nothing-nv3xw
    @Nothing-nv3xw 2 ปีที่แล้ว

    This video is over a year old and It's only now getting recommended to everyone.

  • @simonseis744
    @simonseis744 2 ปีที่แล้ว

    Liked and commented because the algorithm needs to pick you up.

  • @alphs4184
    @alphs4184 2 ปีที่แล้ว +1

    Good stuff :)

  • @RuyVuusen
    @RuyVuusen 2 ปีที่แล้ว

    With code anything can be made. It's just that we don't really like doing not stupid projects.

  • @emmett7320
    @emmett7320 2 ปีที่แล้ว +1

    this boutta blow up

  • @RegaDude
    @RegaDude 2 ปีที่แล้ว

    This is gonna blow up

  • @Hamox
    @Hamox 2 ปีที่แล้ว

    How does this video only have 5k views, it is better than videos with 100 million views.

  • @arandomclown3542
    @arandomclown3542 2 ปีที่แล้ว

    this video is gonna blow up.

  • @jackoncrack7363
    @jackoncrack7363 2 ปีที่แล้ว +2

    Here before it gets recommended to everyone!
    Current view count: 51k
    3.3k likes
    40 dislikes
    5.43k subscribers

  • @abbyartwright2929
    @abbyartwright2929 2 ปีที่แล้ว

    i got an ad for growth on Twitter and that's how you know TH-cam - Broadcast Yourself is sentient

  • @Likon989
    @Likon989 2 ปีที่แล้ว +1

    this is amazing

  • @fruitchewx127
    @fruitchewx127 2 ปีที่แล้ว

    Underrated video

  • @spuddo123
    @spuddo123 2 ปีที่แล้ว +1

    Instead of doing the third party punctuation thing to extract the wish, couldn't you convert the whole thing to an object then use the .remove() function?

  • @kireitonsi
    @kireitonsi 2 ปีที่แล้ว +1

    When I saw this I thought it would be viral. Turns out I got here before the algorithm.

  • @tjgdddfcn
    @tjgdddfcn 2 ปีที่แล้ว +3

    Bot stopped granting wishes r.i.p

  • @AreHorsesReal
    @AreHorsesReal 2 ปีที่แล้ว

    this is such adumb channel

  • @corbin_fishing
    @corbin_fishing 2 ปีที่แล้ว +1

    Wow you gained 100 subs since 3 hours ago

  • @Chrisjunge187
    @Chrisjunge187 2 ปีที่แล้ว

    Nice m8 you need to make more Videos

  • @DuckVader
    @DuckVader 2 ปีที่แล้ว +1

    Underrated

  • @LlamaTF2
    @LlamaTF2 2 ปีที่แล้ว

    How does this man only have 3k subscribers he should have 3m

  • @menjolno
    @menjolno 8 วันที่ผ่านมา

    the bot needs to use sandbox to detect malicious tweets. It google serches (ai wasn't avalible in 2020) if the tweet is legal, if detects "not legal" or illegal then it choose a different tweet

  • @evlx1240
    @evlx1240 2 ปีที่แล้ว

    This video is so good

  • @smoceany9478
    @smoceany9478 2 ปีที่แล้ว

    lovely video :)

  • @mrrfyW_
    @mrrfyW_ 2 ปีที่แล้ว +2

    “I wish I knew how to among us fart animation”
    Edit: What the hell younger me…

  • @spacedoggo4529
    @spacedoggo4529 2 ปีที่แล้ว +1

    If it can only tweet every one hour and it has a max of 100 tweets per day, I think you can see where theres no issues, matter a fact you could possible divide to figure out the best time to use exactly 100 searches a day

    • @DanielLenrd
      @DanielLenrd ปีที่แล้ว

      the problem is that you can also tweet the bot directly

  • @formule2358
    @formule2358 2 ปีที่แล้ว

    Bumping video :)

  • @orgonxseller
    @orgonxseller 2 ปีที่แล้ว

    here the underrated juice pumps

  • @ruler_of_everything
    @ruler_of_everything 2 ปีที่แล้ว

    everybody gangsta til somebody writes "i wish i knew how to make a nuclear bomb and blow up the pentagon"

  • @yeetyeet3279
    @yeetyeet3279 2 ปีที่แล้ว

    I wish I knew how to make this channel more popular

  • @beegbraining
    @beegbraining 2 ปีที่แล้ว +2

    So if the youtube API only lets you do up to 100 searches per day, couldn't you theoretically store the titles of those videos in a database so then the bot won't have to search for duplicate wishes it could just pull from the database?

    • @DissyFanart
      @DissyFanart ปีที่แล้ว +1

      Or just forego the API and do an actual TH-cam search, then extract the URL from the HTML looool

  • @tristanblikman9151
    @tristanblikman9151 2 ปีที่แล้ว

    This is so cool

  • @cmyk8964
    @cmyk8964 ปีที่แล้ว +1

    Can you make a similar bot but with WikiHow searches?

  • @Arata2922
    @Arata2922 2 ปีที่แล้ว

    Interesting indeed

  • @FancyFreestyler
    @FancyFreestyler 11 หลายเดือนก่อน +3

    yeah chat GPT would simplify this a lot lol

  • @Niko-zm1kz
    @Niko-zm1kz 2 ปีที่แล้ว +1

    commenting to boost algorithm

  • @jus9
    @jus9 2 ปีที่แล้ว

    7:42 poor Savannah got trolled by a bot

  • @videotoblin
    @videotoblin 2 ปีที่แล้ว

    are you _that_ adumb? from the arch discord?

  • @ekkehard8
    @ekkehard8 2 ปีที่แล้ว

    3:37 lonely database xD

  • @poluefemus
    @poluefemus 2 ปีที่แล้ว +2

    uh guys, i got a twitter ad 😳👌

  • @_Funtime60
    @_Funtime60 2 ปีที่แล้ว

    I would have made it look to see if the tweet already had a reply from itself, that way no database.

  • @mariotheundying
    @mariotheundying 2 ปีที่แล้ว +1

    Commenting so other people can find this!!

  • @mrjoob675
    @mrjoob675 2 ปีที่แล้ว

    Love it

  • @exedeath
    @exedeath ปีที่แล้ว

    I with I had willpower to study what I need to learn to do what I want and then have willpower to do what I want until I finish it.

  • @turtwigontheweb
    @turtwigontheweb 2 ปีที่แล้ว

    algorithm boost moment

  • @Foxygamer0101
    @Foxygamer0101 2 ปีที่แล้ว

    I bet that a lot of people got How to basic's videos as answers a lot of times xD

  • @gwagabogo
    @gwagabogo หลายเดือนก่อน

    oh hell nah the Genie Bot

  • @Valgient
    @Valgient 2 ปีที่แล้ว

    Hello newly recommended people!