This was a fun demo, BUT apparently building twitter bots with OpenAI is NOT allowed, just a heads up before someone gets hurt 💀 ua-cam.com/users/postUgkxI30KUEX5vd4d_xxL-gw7vBHo1w_1qBEj
Hey there! Glad you found the video helpful! Jeff did a fantastic job breaking down OAuth2.0, didn't he? If you have any more questions, feel free to ask. Happy tweeting!
You have very quickly become my absolute favorite coding youtube channel. Your angular videos literally saved my sanity at my job. Thanks! If you make a sql course I'm going to gift it to my friend who wants to learn sql
I suggets you to check out mongodb. >Bash system for arranging permissions and database system >better multiplatform support like linux >free open source with GPL license >Free cloud database for beginning >Good interface+connection system and good client(mongodb compass) >json format system so you can arrange your database in programming languages so much easier >Also generally easier than SQL Good NoSQL. I made my points, you can of use sql abd there a lot of tutoriald on internet and codeacademy. Still your choice
(7:22)"We can now use the twitter client to do things like access the users profile info, or to send a tweet on their behalf, and there's all kinds of other things you can do as well: like send DMs, retweets, or any other pointless activity you can imagine doing on twitter." -i'm dead
This was brilliant! Thanks. I just finished converting this from Firebase to Express and have it being served on my server with Caprover. I have the tweets firing every 15 minutes with a crontab. Oh yea!
I was always interested in making Twitter bots but the oauth part always halts me, I never knew what to do with callbacks and everything lol. Thank you for this!
I saw that account this afternoon! I didn't realize it was a bot until I browsed its profile. Some of its tweet sound like something out of some tech guy, ironically
I’ve been watching your videos for a long time now and they are great. I never seen you using typescript in place of JavaScript in your videos. Is there any reason you prefer JavaScript over typescript? Can we see you using typescript in future ?
Jeff uses typescript for his professional apps. The reason he chooses javascript for tutorials is he makes short videos. If he uses typescript then adding types will be unnecessary and also many of his audience might not understand typescript. This way both ts and js users can watch his videos and understand
I always just hit like right away on the videos from this channel, and then at least once more during the video I'm like, "Yeah, that was awesome info. Let's go like this video." only to be reminded that past-Blake already did that.
From Bob: "The world doesn't need more programmers. If you want to learn to code, there are plenty of free resources out there. Don't waste your time or money learning to code. VS code tip: You can configure VS code to your liking" Yes. A six-figure job is incoming. Jokes aside, this is epic and something I've been tinkering with as well. Adding the GPT-3 code is the cherry on top and I think I'll implement this soon.
I tried to get some Twitter API creds a while back and they just kept asking questions that I answered in the application and when I answered them in email, they just kept asking the same question, just worded slightly different over and over until I gave up.
Suggestion: In your randomization, give priority to prompts that resulted in tweets with many Fav, RT. And tweet more on what Bob's followers like about his tweets
Super tutorial, and I must say I am always impressed with your content. I see that the boblikescode bot has been terminated? What is the reason behind that?
Hi Fireship, i am a beginner in coding. Started to learn html, then css, then quitted web development. I decided to learn python instead. Once i learned and mastered python, i was deciding to go with C++. But anyways, i just wanna know how many programming languages you know? Cause you have so many 100 seconds video where you explain a programming language. And by the way, what is your favorite programming language?
It’s not about the breadth of languages you know, it’s about understanding the concepts behind programming and what the computer is really doing. If you learn these things you can pick up any language; at the end of the day they’re virtually all the same with different bells, whistles & syntax.
2:29, but if the db gets compromised (assuming you are storing the tokens on the same db). Doesn't the hacker have access to both tokens? Meaning they can use the refresh_token themselves?
@@mikopiko yeah they should preferably be stored in an .env or other config file. If both the db and .env is compromised you have much bigger security issues.
@@mikopiko definitely don't store secrets in the DB or even hard code them in your code, always use them in a .env file or some other config file depending on the language you are coding in. Fireship is just putting it in the code here as an example but don't do that in a production environment. Luckily if the secret gets compromised you can easily revoke it from the twitter developer console. Most API secrets can be revoked this way.
I have a request for you... Can you make a markdown preview but build it from scratch like the function that turns the text to html to be built from zero ? With vanilla javascript ?
So you mentioned "You store these access token and refresh token to your database" And later mentioned "so you use refresh token to get new access token, this is done so that your system is not compromised if hacker gets access to your database" I'm confused on the last part, if the hacker have got access to your database then they would also have got access to the users refresh token, which means they can create unlimited access tokens with it right, so how exactly this method of access token + refresh token have helped us securing the credentials? 🤔
If you are trying to follow his tutorials in VSCode, the "command line" is the same as the "terminal". You can access it by going to the "View" menu button and then clicking "Terminal" or using the shortcut Ctrl + BackTick. Another way you could open up the terminal is to press Cmd+Space and search for "Terminal" if you're on a Mac or click the magnifying glass icon next to the start button and search for "Command Prompt" on Windows.
This looks fun. Though anyone else running into the error: "Value passed for the redirect uri did not match the uri of the authorization code." ? This is after trying to use the admin link which saves the codeVerifier and state successfully in firebase database, but the redirect fails. :/
This was a fun demo, BUT apparently building twitter bots with OpenAI is NOT allowed, just a heads up before someone gets hurt 💀 ua-cam.com/users/postUgkxI30KUEX5vd4d_xxL-gw7vBHo1w_1qBEj
Thanks for the heads up. Who reads TOS anyway!
Lol i just watched and he died just now 🤣😂 RIP
MAY THE SOURCE BE WITH YOU BOB 😭
rip bob
RIP Bob, I missed you already 😭
I'm proud to say I was among the few that could read some of Bob's tweet. He might have only 3 followers, but... but.... he was a cool dude
At first I thought this would just be a fun video, maybe not that useful. But that was a GREAT concise explanation of OAuth2.0. Thanks Jeff!
Seriously, I don't care one bit about the Twitter aspect of this but the Oauth explanation is amazing
@@crustydev5561 Jeff should change the title to "The best OAuth explanation ever, and a Twitter bot"
I got rejected at twitter
Like actually, I really needed this video to explain OAuth for me
Hey there! Glad you found the video helpful! Jeff did a fantastic job breaking down OAuth2.0, didn't he? If you have any more questions, feel free to ask. Happy tweeting!
In every fireship vid, when the music fades away at the beginning you know the intro is over and shit is about to get real, so pay attention
tru boi
And do -n't- try this sht at home....!!!
Cues me in to switch focus from UA-cam to my IDE ;)
Dang, I didn't notice this until you pointed it out.
The best thing about this channel is the pace of the videos. Too many tutorials beat around the bush before getting to the bulk of the content.
yes! lots of them i can't watch, too much meandering.
You have very quickly become my absolute favorite coding youtube channel. Your angular videos literally saved my sanity at my job. Thanks! If you make a sql course I'm going to gift it to my friend who wants to learn sql
I suggets you to check out mongodb.
>Bash system for arranging permissions and database system
>better multiplatform support like linux
>free open source with GPL license
>Free cloud database for beginning
>Good interface+connection system and good client(mongodb compass)
>json format system so you can arrange your database in programming languages so much easier
>Also generally easier than SQL
Good NoSQL. I made my points, you can of use sql abd there a lot of tutoriald on internet and codeacademy. Still your choice
Your videos keep getting better and existentially scarier.
I think the addition of the Stonks person is really what made this click for me. Thank you.
0:33 I'm not ready for this 😭😭
But atleast we'll have bob
Wow this aged poorly
I took a whole class on backend development with node js and this stuff looks like a whole different language, awesome
(7:22)"We can now use the twitter client to do things like access the users profile info, or to send a tweet on their behalf, and there's all kinds of other things you can do as well: like send DMs, retweets, or any other pointless activity you can imagine doing on twitter." -i'm dead
This was brilliant! Thanks. I just finished converting this from Firebase to Express and have it being served on my server with Caprover. I have the tweets firing every 15 minutes with a crontab. Oh yea!
My GPT3 sense was tingling after reading the title.
Always thrilled to see your videos in my feed, thanks man 👌
This guy never disappoints
Bot
@@sovuchkin5093 polish "person"
I just searched about AI and I get this. Thank you so much!
Thanks for the video! I was having troubles when I was hitting their api endpoints directly. but this library helped a lot.
I was always interested in making Twitter bots but the oauth part always halts me, I never knew what to do with callbacks and everything lol. Thank you for this!
Other youtubers twitter bot in 4 hours
Fireship be like: OOhhh fire is here take a bot in 10mins
🔥🔥🔥
I had a feeling that ‘Bob’ was ‘you’ even before I saw this video!!
I saw that account this afternoon! I didn't realize it was a bot until I browsed its profile. Some of its tweet sound like something out of some tech guy, ironically
Just wanted to let you know that the Twitter API key is briefly visible at 1:10 if you haven't already noticed. Awesome video btw!
Thank you for the full guide, it was really understandable. Keep up the good work ^^
I swear this fireshit gonna be pinnacle of yt tech channels.
Now I know who Bob is, saw your post before watching this video. Rip Bob, you died for us, you're a freaking martyr in fireship community 🙏🙏
Great video! Looking forward to see more content about AI and ML!
I’ve been watching your videos for a long time now and they are great. I never seen you using typescript in place of JavaScript in your videos. Is there any reason you prefer JavaScript over typescript? Can we see you using typescript in future ?
Jeff uses typescript for his professional apps.
The reason he chooses javascript for tutorials is he makes short videos.
If he uses typescript then adding types will be unnecessary and also many of his audience might not understand typescript.
This way both ts and js users can watch his videos and understand
It's mostly about keeping demos simple. I'm going to make some TS specific videos soon tho.
@@Fireship oh thats great timing, I just fully switched to TS and already have had 100 google searches
This is the best UA-cam channel I know 🔥🔥
I didn't understand about Auth 2.0 how to implement but know i understand thanks 💯🔥
One day his videos will be made by AI and we just dont know it yet.
Lots of fake news videos on UA-cam were generated this way
Lol 😂😆
Good video. Post more videos about OpenAI
I always just hit like right away on the videos from this channel, and then at least once more during the video I'm like, "Yeah, that was awesome info. Let's go like this video." only to be reminded that past-Blake already did that.
Jeff is still my favourite tech youtuber
Already almost 1.1 million subscribers. Road 2 by June? Then 3 by Dec? Then 5 by 2024 🤣
My next video: asking copilot to make an ai twitter bot
Yes! Btw I love your copilot videos ❤️
yessss
Big fan Virej!!
Do this, It'll be interesting to see what it does
Owh i actually know u
Teach Bob to make videos like you do. Ultimate passive income
Even I was going to make it tomorrow love you man
I ♥️ how cat was used to represent a hacker. You seem to be a beluga fan.
This is unreal, nice job Jeff!
This is so dope. I gotta make a comedy bot soon
Can you share how these amazing tweets are being made? which combinations are used?
From Bob:
"The world doesn't need more programmers. If you want to learn to code, there are plenty of free resources out there. Don't waste your time or money learning to code. VS code tip: You can configure VS code to your liking"
Yes. A six-figure job is incoming.
Jokes aside, this is epic and something I've been tinkering with as well. Adding the GPT-3 code is the cherry on top and I think I'll implement this soon.
Just like feeding a baby -- bait with the mac & cheese and then switch with the broccoli 🤣good video, thanks
Rest In Peace Bob .
I tried to get some Twitter API creds a while back and they just kept asking questions that I answered in the application and when I answered them in email, they just kept asking the same question, just worded slightly different over and over until I gave up.
Suggestion: In your randomization, give priority to prompts that resulted in tweets with many Fav, RT. And tweet more on what Bob's followers like about his tweets
Awesome as usual!
thanks man for the final note
Super tutorial, and I must say I am always impressed with your content. I see that the boblikescode bot has been terminated? What is the reason behind that?
Hi Fireship, i am a beginner in coding. Started to learn html, then css, then quitted web development. I decided to learn python instead. Once i learned and mastered python, i was deciding to go with C++. But anyways, i just wanna know how many programming languages you know? Cause you have so many 100 seconds video where you explain a programming language. And by the way, what is your favorite programming language?
It’s not about the breadth of languages you know, it’s about understanding the concepts behind programming and what the computer is really doing. If you learn these things you can pick up any language; at the end of the day they’re virtually all the same with different bells, whistles & syntax.
Thanks @@temps1959 for your advice :)
Огромное спасибо за дословно обучающий ролик!!
Hi fireship , how about making some videos about "do we need math to became web delopers? "
@Jeff starring your own repositories is like liking your own facebook posts ;-P
Another 🔥 100 sec video.
We need more video like this
why does the text on your screen always look so crisp? I'm jealous
I’m definitely going to build this
R.I.P Bob. You'll be missed.
Great video, but where the AI at (NVM it was Bob's face)
Man its not the code that amaze me. Its his algorithm how to do something!
I'm a simple man, I see Meme Man, I press like
Please make a tutorial on how to make a ratio AI for Twitter 🥺 u make the best tuts and vids 🙏
2:29, but if the db gets compromised (assuming you are storing the tokens on the same db). Doesn't the hacker have access to both tokens? Meaning they can use the refresh_token themselves?
they still need your app client id and client secret.
@@necoreaper And those strings are only stored, where? As ENV variable only?
@@mikopiko yeah they should preferably be stored in an .env or other config file. If both the db and .env is compromised you have much bigger security issues.
@@necoreaper Oh okey, didn't know about the client_id & client_secret!
@@mikopiko definitely don't store secrets in the DB or even hard code them in your code, always use them in a .env file or some other config file depending on the language you are coding in. Fireship is just putting it in the code here as an example but don't do that in a production environment. Luckily if the secret gets compromised you can easily revoke it from the twitter developer console. Most API secrets can be revoked this way.
Plot twist: this video was created completely by OpenAI
Rip bob, you were too good for us
Не могу выразить своё счастье словами. Очень давно искал эту информацию. Спасибо огромное!!
'Blame Richard Stallman' LMFAO!
Cool i pefet your bot better than the ones we have now
I have been struggling the last couple days go get my own twitter bot up, thanks for the vid!
Your content is pure dope!
I have a request for you...
Can you make a markdown preview but build it from scratch like the function that turns the text to html to be built from zero ? With vanilla javascript ?
IDK if you're bot or an real person.
Love your content dude ❤️
You rock 🗿 Banger 💥
In my mother tongue, *Oli wakabi*
Waiting for the video on Apache Kafka
So you mentioned "You store these access token and refresh token to your database" And later mentioned "so you use refresh token to get new access token, this is done so that your system is not compromised if hacker gets access to your database"
I'm confused on the last part, if the hacker have got access to your database then they would also have got access to the users refresh token, which means they can create unlimited access tokens with it right, so how exactly this method of access token + refresh token have helped us securing the credentials? 🤔
Please make a custom authentication system that uses access and refresh token ❤️
rip bob
He was like a stepmom to me
Автор молодец!! Выпускайте подобные ролики почаще!!
How have you created this folder with firebase init functions ? And where comes this twbot from ? And how you open the workspace wtrhout any folder.
Jokes aside, I actually know a dude who looks a lot like Bob. And he's JavaScript developer.
Twitter will be full of AI tweets after that video!!
So many of your tuts begin with "start at the command line" but I have no idea where that command line is or how to access it
If you are trying to follow his tutorials in VSCode, the "command line" is the same as the "terminal". You can access it by going to the "View" menu button and then clicking "Terminal" or using the shortcut Ctrl + BackTick. Another way you could open up the terminal is to press Cmd+Space and search for "Terminal" if you're on a Mac or click the magnifying glass icon next to the start button and search for "Command Prompt" on Windows.
Is your voice AI generated as some Reddit videos ? Or is yours with some audio compress and protools process? Txs !
1:10 missed a blurring of the api key here
true
This is a great video, thanks a lot!
8:29 158th point could get you in trouble
Thank you Lord fireship
prompt : "Tweet that will give me a job"
I think JarveePro is a great tool indeed.
😂😂😂the start was just so funny
Thanks man! You saved my job haha
Can you do wax wallet NFT minting? been trying to look for it for a while
Don't die 🔥 never dies
With this video some evil 😈 taughts came to my mind.
Where did you get the functions folder from? Kind of just appeared in the video
Please do a video about running cron jobs in Nodejs!
This looks fun. Though anyone else running into the error: "Value passed for the redirect uri did not match the uri of the authorization code." ? This is after trying to use the admin link which saves the codeVerifier and state successfully in firebase database, but the redirect fails. :/
Cloning the repo provided in the links made this work, though I've literally no idea how my (TypeScript) version wouldn't have worked. Oh well.
You are a mind opener master.
what editor are you using?
I hope elon doesn't ban an account that uses this!
I am surely try using it.
They added a feature that you need to activate that tells people that your account is automated
@@user-xf7mu7ub9d how do I locate this?
@@Tech_Ez you can find everything in the account settings
Thanks Jeff.
RIP stepsister.