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
I really want to tweet "I wish I knew how to make a twitter bot which grants people's wishes"
@dumbbass8867
3 жыл бұрын
Then tweet it
@Sho_mi
3 жыл бұрын
@@dumbbass8867 bot is inactive
@dumbbass8867
3 жыл бұрын
@@Sho_mi aw that sucks. Oh well...
@Temerold_se
3 жыл бұрын
@@dumbbass8867 dumm bass
@susmitdas
3 жыл бұрын
@Simon Exan Hey I found a better one kzread.info/dash/bejne/loWrltlyh8q-k7Q.html
Someone: "I wish I knew how to make it up to you honey" The bot: "Wish granted. Here's a make-up tutorial."
@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
3 жыл бұрын
@@BananaWasTaken wow, you really searched up what the person said and put the results in.
@izme1000
Жыл бұрын
My result was how to make honey
@MalikEpik
Жыл бұрын
@@izme1000 these videos are liers bees can only make honey
This actually needs to find its way into people's recommended page
@trainjumper
3 жыл бұрын
Landed here from my recommended page- Looks like the youtube algorithm granted your wish :^)
@remty516
3 жыл бұрын
It is!
@tivitect
3 жыл бұрын
Done
@scrambledmandible
3 жыл бұрын
WISH GRANTED
@Starnet234
3 жыл бұрын
Done
7:56 “i wish i knew how to re fckn drive myself” Genie: *recommends a music video*
@Sentient-potato
3 жыл бұрын
Lol
Cool project, sad to see that the Bot is inactive now.
@RubyPiec
3 жыл бұрын
WAIT IT IS? I loved this bot
@creatureofvenice
3 жыл бұрын
yeah. looked really funny
@kirbosomething
3 жыл бұрын
Uh why does it say 4 weeks and not 1 month
@quabey_
3 жыл бұрын
@@kirbosomething Because 4 weeks ≠ 1 month?
@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!
7:40 you could add caching for frequent wishs so you dont have to query the youtube api
This channel is so underrated
@BlackSalamander439
3 жыл бұрын
To be fair it has 2 videos
@aristology6912
3 жыл бұрын
He only has two videos on his channel my guy
@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
3 жыл бұрын
Yes
@EEEEEEEE
3 жыл бұрын
E
Your style is perfect for coding. Detailed but general enough to make it sound easy
Totally forgot how hard text comprehension for computers was before GPT was actually usable... damn
I’m still waiting for someone to say *I wish I knew how to build an online brand.*
"I wish I knew how to re fckn drive myself" Bot: Listen to music
@EEEEEEEE
3 жыл бұрын
E
@myh6274
3 жыл бұрын
@@EEEEEEEE NO. *h*
@eugenelojhin
3 жыл бұрын
@@Limon4ik- H
@_red_crewmate
3 жыл бұрын
@@eugenelojhin E
@cinnamonaxis6256
3 жыл бұрын
E
Random guy who caught on: "I wish I knew how to get drugs on the black market"
Dang he’s gaining like 100 subs an hour Rn.
Found you in my Recommended and you absolutely rock!
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
I love your videos please keep uploading!
This popped into my recommended I was not disappointed Subbed
I wish knew how to extend the fundamental sequences of the fast growing hierarchy to the Large Velben Ordinal.
@eddyo1254
3 жыл бұрын
w h a t
This video was made 1 year ago… ONLY NOW WE WATCHING THIS? WHYYYY KZread? THIS GUY IS SOOOOO UNDERRATED
I feel like this video just hit the KZread algorithm lottery and will blow up
Yo good stuff, 2 out of 2 videos are excellent, batting 100.
seems like the algorithm granted my wish for seeing something cool
Your videos have been in my recommended for a while
good, simple to understand video with explanation, thank you
This is actually a very good video with a great design, which seriously needs more than 5500 views!
@MayorVideo
3 жыл бұрын
So is 38000
I'm surprised this video doesn't have 100k views, it totally deserves it!
@ABexLaHex
3 жыл бұрын
You're in luck
I love how right at the end of the video, it sent a music video as a wish
Holy crap, this only has 2k views? This is so cool man, you deserve way more views and subscribers
@mariotheundying
3 жыл бұрын
15k views now, comments help the video
@G-u-z-i-o
3 жыл бұрын
Well... He's got much more now!
@BM74
3 жыл бұрын
26k
@YDNTR
3 жыл бұрын
36k
@sajeucettefoistunevaspasme
3 жыл бұрын
38
Wow! A coding video I can kind of understand!
You're mic is pretty good for your channel size, hope you grow enough to get a really high quality one!
@thesmasherthebest
3 жыл бұрын
"you are mic" lol
@rajeshgajbhiye1048
3 жыл бұрын
OOoOoOOOOOOO
"I wish I knew how to make my parents love me"
Got it in my recommendations, I really hope more people do!
@user-hg1zb5te9f
3 жыл бұрын
Me too
@mishaproduction
3 жыл бұрын
same
I swear this channel is so underrated
I wish I knew how to never gonna give you up. Bot: *rick roll*
Cool project!
we need this guy back
Underrated video
This is awesome. Tks a lot for sharing
This microphone is much better
@plantkillable8371
3 жыл бұрын
Agreed
@RubyPiec
3 жыл бұрын
I wonder what happened, did he use the same mic, but it just got older?
@plantkillable8371
3 жыл бұрын
@@RubyPiec my mic changed its sound after taking a fall, so possibly...
If this doesn't blow up, shame on KZread's recommendation system.
Cool! Very interesting.
7:40 "I wish I knew how to show people I care" is brutal.
Good stuff :)
This is AMAZING, hope you blow up soon :D
I wish this channel had more subscribers.
this is amazing
this is absolutely genius
Underrated
It's all fun and games until someone tweets "I wish I knew how to make a bomb"
7:32 MS. Davis : "I wish I knew how to pull up instagram Live on my TV" AI: "How To Increase Your Pull-UPS"
Whelp looks like the algorithm has chosen you!
The algorithm might bless you. cya i a year! very cool vid!
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
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_
this boutta blow up
This is so cool
This is gonna blow up
commenting to boost the algorithm, keep it up!
This video is so good
Bumping video :)
Liked and commented because the algorithm needs to pick you up.
“Some people use words like ‘lol’ like punctuation”, I feel called out lol
lovely video :)
I see this channel getting extremely popular and slowly becoming one of the biggest coding channels on yt...
@Narwhyn
3 жыл бұрын
It has two videos. I highly doubt it will slowly become one of the biggest coding channels.
@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
3 жыл бұрын
But you said it'll be one of the most popular, if he doesn't upload then it won't be.
@nak_attak
3 жыл бұрын
@@Narwhyn oh I didnt exactly see that he hasent uploaded in a year
@bannaboy5800
Жыл бұрын
@@Narwhyn He recently uploaded if u wanna watch the video
How does this video only have 5k views, it is better than videos with 100 million views.
Love it
this video is gonna blow up.
madlad
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?
this is such adumb channel
When I saw this I thought it would be viral. Turns out I got here before the algorithm.
Interesting indeed
This video is over a year old and It's only now getting recommended to everyone.
i got an ad for growth on Twitter and that's how you know KZread - Broadcast Yourself is sentient
Here before it gets recommended to everyone! Current view count: 51k 3.3k likes 40 dislikes 5.43k subscribers
With code anything can be made. It's just that we don't really like doing not stupid projects.
How does this man only have 3k subscribers he should have 3m
Wow you gained 100 subs since 3 hours ago
Nice m8 you need to make more Videos
here the underrated juice pumps
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
I wish I knew how to make this channel more popular
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
Жыл бұрын
Or just forego the API and do an actual KZread search, then extract the URL from the HTML looool
“I wish I knew how to among us fart animation” Edit: What the hell younger me…
Can you make a similar bot but with WikiHow searches?
commenting to boost algorithm
groovy
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
Жыл бұрын
the problem is that you can also tweet the bot directly
Bot stopped granting wishes r.i.p
algorithm boost moment
7:42 poor Savannah got trolled by a bot
everybody gangsta til somebody writes "i wish i knew how to make a nuclear bomb and blow up the pentagon"
Commenting so other people can find this!!
Cool
Leaving a comment to please the algorithm
genius
Why are you using var instead of let?
uh guys, i got a twitter ad 😳👌
are you _that_ adumb? from the arch discord?
Here before * enter view milestone of a significantly high number * views