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