I Made a Twitter Bot That Grants People's Wishes

Ғылым және технология

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, KZread API, and AWS.
Useful resources used in this video:
Twitter API: / docs
KZread 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

Пікірлер: 359

  • @adamwiegand4578
    @adamwiegand45783 жыл бұрын

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

  • @dumbbass8867

    @dumbbass8867

    3 жыл бұрын

    Then tweet it

  • @Sho_mi

    @Sho_mi

    3 жыл бұрын

    @@dumbbass8867 bot is inactive

  • @dumbbass8867

    @dumbbass8867

    3 жыл бұрын

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

  • @Temerold_se

    @Temerold_se

    3 жыл бұрын

    @@dumbbass8867 dumm bass

  • @susmitdas

    @susmitdas

    3 жыл бұрын

    @Simon Exan Hey I found a better one kzread.info/dash/bejne/loWrltlyh8q-k7Q.html

  • @QemeH
    @QemeH3 жыл бұрын

    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

    3 жыл бұрын

    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

    3 жыл бұрын

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

  • @izme1000

    @izme1000

    Жыл бұрын

    My result was how to make honey

  • @MalikEpik

    @MalikEpik

    Жыл бұрын

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

  • @unyx420
    @unyx4203 жыл бұрын

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

  • @trainjumper

    @trainjumper

    3 жыл бұрын

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

  • @remty516

    @remty516

    3 жыл бұрын

    It is!

  • @tivitect

    @tivitect

    3 жыл бұрын

    Done

  • @scrambledmandible

    @scrambledmandible

    3 жыл бұрын

    WISH GRANTED

  • @Starnet234

    @Starnet234

    3 жыл бұрын

    Done

  • @railgun1258
    @railgun12583 жыл бұрын

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

  • @Sentient-potato

    @Sentient-potato

    3 жыл бұрын

    Lol

  • @quabey_
    @quabey_3 жыл бұрын

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

  • @RubyPiec

    @RubyPiec

    3 жыл бұрын

    WAIT IT IS? I loved this bot

  • @creatureofvenice

    @creatureofvenice

    3 жыл бұрын

    yeah. looked really funny

  • @kirbosomething

    @kirbosomething

    3 жыл бұрын

    Uh why does it say 4 weeks and not 1 month

  • @quabey_

    @quabey_

    3 жыл бұрын

    @@kirbosomething Because 4 weeks ≠ 1 month?

  • @RubyPiec

    @RubyPiec

    3 жыл бұрын

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

  • @jamcdonald120
    @jamcdonald1203 жыл бұрын

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

  • @svrem
    @svrem3 жыл бұрын

    This channel is so underrated

  • @BlackSalamander439

    @BlackSalamander439

    3 жыл бұрын

    To be fair it has 2 videos

  • @aristology6912

    @aristology6912

    3 жыл бұрын

    He only has two videos on his channel my guy

  • @mariotheundying

    @mariotheundying

    3 жыл бұрын

    @@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

    3 жыл бұрын

    Yes

  • @EEEEEEEE

    @EEEEEEEE

    3 жыл бұрын

    E‎

  • @jacobrosset8450
    @jacobrosset84503 жыл бұрын

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

  • @danielkurz7806
    @danielkurz78064 ай бұрын

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

  • @infamousdword3198
    @infamousdword31983 жыл бұрын

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

  • @mabila5967
    @mabila59673 жыл бұрын

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

  • @EEEEEEEE

    @EEEEEEEE

    3 жыл бұрын

    ‎E‎

  • @myh6274

    @myh6274

    3 жыл бұрын

    @@EEEEEEEE NO. *h*

  • @eugenelojhin

    @eugenelojhin

    3 жыл бұрын

    @@Limon4ik- H

  • @_red_crewmate

    @_red_crewmate

    3 жыл бұрын

    @@eugenelojhin E

  • @cinnamonaxis6256

    @cinnamonaxis6256

    3 жыл бұрын

    E

  • @uno-theofficialcardgamebyMatel
    @uno-theofficialcardgamebyMatel3 жыл бұрын

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

  • @KayJblue
    @KayJblue3 жыл бұрын

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

  • @DanDaManBaBam
    @DanDaManBaBam3 жыл бұрын

    Found you in my Recommended and you absolutely rock!

  • @Megaranator
    @Megaranator3 жыл бұрын

    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

  • @stellapratt4304
    @stellapratt43043 жыл бұрын

    I love your videos please keep uploading!

  • @theholydoge7616
    @theholydoge76163 жыл бұрын

    This popped into my recommended I was not disappointed Subbed

  • @mumujibirb
    @mumujibirb3 жыл бұрын

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

  • @eddyo1254

    @eddyo1254

    3 жыл бұрын

    w h a t

  • @wat2206
    @wat22063 жыл бұрын

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

  • @magicjack4076
    @magicjack40763 жыл бұрын

    I feel like this video just hit the KZread algorithm lottery and will blow up

  • @crazzilla7203
    @crazzilla72033 жыл бұрын

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

  • @pleasestopreadingthisnames4874
    @pleasestopreadingthisnames48743 жыл бұрын

    seems like the algorithm granted my wish for seeing something cool

  • @Bluebird_YT
    @Bluebird_YT3 жыл бұрын

    Your videos have been in my recommended for a while

  • @ArooPC
    @ArooPC3 жыл бұрын

    good, simple to understand video with explanation, thank you

  • @porkkana.
    @porkkana.3 жыл бұрын

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

  • @MayorVideo

    @MayorVideo

    3 жыл бұрын

    So is 38000

  • @MrMario501
    @MrMario5013 жыл бұрын

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

  • @ABexLaHex

    @ABexLaHex

    3 жыл бұрын

    You're in luck

  • @ethanpercival216
    @ethanpercival2163 жыл бұрын

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

  • @chairger
    @chairger3 жыл бұрын

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

  • @mariotheundying

    @mariotheundying

    3 жыл бұрын

    15k views now, comments help the video

  • @G-u-z-i-o

    @G-u-z-i-o

    3 жыл бұрын

    Well... He's got much more now!

  • @BM74

    @BM74

    3 жыл бұрын

    26k

  • @YDNTR

    @YDNTR

    3 жыл бұрын

    36k

  • @sajeucettefoistunevaspasme

    @sajeucettefoistunevaspasme

    3 жыл бұрын

    38

  • @octopodi8073
    @octopodi80733 жыл бұрын

    Wow! A coding video I can kind of understand!

  • @johnlin5550
    @johnlin55503 жыл бұрын

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

  • @thesmasherthebest

    @thesmasherthebest

    3 жыл бұрын

    "you are mic" lol

  • @rajeshgajbhiye1048

    @rajeshgajbhiye1048

    3 жыл бұрын

    OOoOoOOOOOOO

  • @tex6924
    @tex69243 жыл бұрын

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

  • @wilemr1337
    @wilemr13373 жыл бұрын

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

  • @user-hg1zb5te9f

    @user-hg1zb5te9f

    3 жыл бұрын

    Me too

  • @mishaproduction

    @mishaproduction

    3 жыл бұрын

    same

  • @adammaxi
    @adammaxi3 жыл бұрын

    I swear this channel is so underrated

  • @maulob1523
    @maulob15233 жыл бұрын

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

  • @luczoxz
    @luczoxz3 жыл бұрын

    Cool project!

  • @Husqy
    @Husqy3 жыл бұрын

    we need this guy back

  • @fruitchewx127
    @fruitchewx1273 жыл бұрын

    Underrated video

  • @AllenG-13
    @AllenG-13 Жыл бұрын

    This is awesome. Tks a lot for sharing

  • @ipez1042
    @ipez10423 жыл бұрын

    This microphone is much better

  • @plantkillable8371

    @plantkillable8371

    3 жыл бұрын

    Agreed

  • @RubyPiec

    @RubyPiec

    3 жыл бұрын

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

  • @plantkillable8371

    @plantkillable8371

    3 жыл бұрын

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

  • @NotAGMFrank
    @NotAGMFrank3 жыл бұрын

    If this doesn't blow up, shame on KZread's recommendation system.

  • @TheChefmike66
    @TheChefmike664 ай бұрын

    Cool! Very interesting.

  • @I-h4t3-4ll-0f-y0u
    @I-h4t3-4ll-0f-y0u3 ай бұрын

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

  • @alphs4184
    @alphs41843 жыл бұрын

    Good stuff :)

  • @prostoopid
    @prostoopid3 жыл бұрын

    This is AMAZING, hope you blow up soon :D

  • @Valdaur
    @Valdaur3 жыл бұрын

    I wish this channel had more subscribers.

  • @Likon989
    @Likon9893 жыл бұрын

    this is amazing

  • @kaabagaming4885
    @kaabagaming48853 жыл бұрын

    this is absolutely genius

  • @DuckVader
    @DuckVader3 жыл бұрын

    Underrated

  • @kinforr7764
    @kinforr77643 жыл бұрын

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

  • @finixHD
    @finixHD2 жыл бұрын

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

  • @dannyraede3974
    @dannyraede39743 жыл бұрын

    Whelp looks like the algorithm has chosen you!

  • @nathanoy_
    @nathanoy_3 жыл бұрын

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

  • @kahveciderin
    @kahveciderin3 жыл бұрын

    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

  • @strogonoffcore
    @strogonoffcore3 ай бұрын

    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_

  • @emmett7320
    @emmett73203 жыл бұрын

    this boutta blow up

  • @tristanblikman9151
    @tristanblikman91513 жыл бұрын

    This is so cool

  • @RegaDude
    @RegaDude3 жыл бұрын

    This is gonna blow up

  • @kahveciderin
    @kahveciderin3 жыл бұрын

    commenting to boost the algorithm, keep it up!

  • @evlx1240
    @evlx12403 жыл бұрын

    This video is so good

  • @formule2358
    @formule23583 жыл бұрын

    Bumping video :)

  • @simonseis744
    @simonseis7443 жыл бұрын

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

  • @PokeChamp22
    @PokeChamp222 ай бұрын

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

  • @smoceany9478
    @smoceany94783 жыл бұрын

    lovely video :)

  • @nak_attak
    @nak_attak3 жыл бұрын

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

  • @Narwhyn

    @Narwhyn

    3 жыл бұрын

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

  • @nak_attak

    @nak_attak

    3 жыл бұрын

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

  • @Narwhyn

    @Narwhyn

    3 жыл бұрын

    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

    3 жыл бұрын

    @@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

  • @Hamox
    @Hamox3 жыл бұрын

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

  • @mrjoob675
    @mrjoob6753 жыл бұрын

    Love it

  • @arandomclown3542
    @arandomclown35423 жыл бұрын

    this video is gonna blow up.

  • @greenhoodie1697
    @greenhoodie16973 жыл бұрын

    madlad

  • @spuddo123
    @spuddo1233 жыл бұрын

    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?

  • @AreHorsesReal
    @AreHorsesReal3 жыл бұрын

    this is such adumb channel

  • @kireitonsi
    @kireitonsi3 жыл бұрын

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

  • @Arata2922
    @Arata29223 жыл бұрын

    Interesting indeed

  • @Nothing-nv3xw
    @Nothing-nv3xw3 жыл бұрын

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

  • @abbyartwright2929
    @abbyartwright29293 жыл бұрын

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

  • @jackoncrack7363
    @jackoncrack73633 жыл бұрын

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

  • @RuyVuusen
    @RuyVuusen3 жыл бұрын

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

  • @LlamaTF2
    @LlamaTF23 жыл бұрын

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

  • @corbin_fishing
    @corbin_fishing3 жыл бұрын

    Wow you gained 100 subs since 3 hours ago

  • @Chrisjunge187
    @Chrisjunge1873 жыл бұрын

    Nice m8 you need to make more Videos

  • @orgonxseller
    @orgonxseller3 жыл бұрын

    here the underrated juice pumps

  • @menjolno
    @menjolno2 ай бұрын

    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

  • @yeetyeet3279
    @yeetyeet32793 жыл бұрын

    I wish I knew how to make this channel more popular

  • @beegbraining
    @beegbraining3 жыл бұрын

    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

    Жыл бұрын

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

  • @mrrfyW
    @mrrfyW3 жыл бұрын

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

  • @cmyk8964
    @cmyk8964 Жыл бұрын

    Can you make a similar bot but with WikiHow searches?

  • @Niko-zm1kz
    @Niko-zm1kz3 жыл бұрын

    commenting to boost algorithm

  • @pepre7594
    @pepre75943 жыл бұрын

    groovy

  • @spacedoggo4529
    @spacedoggo45293 жыл бұрын

    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

  • @tjgdddfcn
    @tjgdddfcn3 жыл бұрын

    Bot stopped granting wishes r.i.p

  • @turtwigontheweb
    @turtwigontheweb3 жыл бұрын

    algorithm boost moment

  • @jus9
    @jus93 жыл бұрын

    7:42 poor Savannah got trolled by a bot

  • @ruler_of_everything
    @ruler_of_everything3 жыл бұрын

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

  • @mariotheundying
    @mariotheundying3 жыл бұрын

    Commenting so other people can find this!!

  • @derpmonkey4489
    @derpmonkey44893 жыл бұрын

    Cool

  • @ibuprofencompactor
    @ibuprofencompactor3 жыл бұрын

    Leaving a comment to please the algorithm

  • @Atius
    @Atius3 жыл бұрын

    genius

  • @purple3657
    @purple36573 жыл бұрын

    Why are you using var instead of let?

  • @poluefemus
    @poluefemus3 жыл бұрын

    uh guys, i got a twitter ad 😳👌

  • @videotoblin
    @videotoblin3 жыл бұрын

    are you _that_ adumb? from the arch discord?

  • @handoverthestromboli6715
    @handoverthestromboli67153 жыл бұрын

    Here before * enter view milestone of a significantly high number * views

Келесі