How I post banger tweets with artificial intelligence // Twitter Bot Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ส.ค. 2024

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

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

    This was a fun demo, BUT apparently building twitter bots with OpenAI is NOT allowed, just a heads up before someone gets hurt 💀 th-cam.com/users/postUgkxI30KUEX5vd4d_xxL-gw7vBHo1w_1qBEj

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

      Thanks for the heads up. Who reads TOS anyway!

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

      Lol i just watched and he died just now 🤣😂 RIP
      MAY THE SOURCE BE WITH YOU BOB 😭

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

      rip bob

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

      RIP Bob, I missed you already 😭

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

      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

  • @Christopher-ew7jw
    @Christopher-ew7jw 2 ปีที่แล้ว +435

    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!

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

      Seriously, I don't care one bit about the Twitter aspect of this but the Oauth explanation is amazing

    • @Christopher-ew7jw
      @Christopher-ew7jw 2 ปีที่แล้ว +4

      @@crustydev5561 Jeff should change the title to "The best OAuth explanation ever, and a Twitter bot"

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

      I got rejected at twitter

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

      Like actually, I really needed this video to explain OAuth for me

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

      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!

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

    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

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

    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.

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

      yes! lots of them i can't watch, too much meandering.

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

    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

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

      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

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

    This guy never disappoints

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

    Always thrilled to see your videos in my feed, thanks man 👌

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

    Your videos keep getting better and existentially scarier.

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

    (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

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

    Thank you for the full guide, it was really understandable. Keep up the good work ^^

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

    I think the addition of the Stonks person is really what made this click for me. Thank you.

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

    This is unreal, nice job Jeff!

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

    0:33 I'm not ready for this 😭😭
    But atleast we'll have bob

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

      Wow this aged poorly

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

    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!

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

    This is the best TH-cam channel I know 🔥🔥

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

    Awesome as usual!

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

    Great video! Looking forward to see more content about AI and ML!

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

    I just searched about AI and I get this. Thank you so much!

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

    Another 🔥 100 sec video.

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

    Other youtubers twitter bot in 4 hours
    Fireship be like: OOhhh fire is here take a bot in 10mins
    🔥🔥🔥

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

    Thanks for the video! I was having troubles when I was hitting their api endpoints directly. but this library helped a lot.

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

    I took a whole class on backend development with node js and this stuff looks like a whole different language, awesome

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

    I swear this fireshit gonna be pinnacle of yt tech channels.

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

    My GPT3 sense was tingling after reading the title.

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

    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

  • @mxjxn-art
    @mxjxn-art ปีที่แล้ว

    Just like feeding a baby -- bait with the mac & cheese and then switch with the broccoli 🤣good video, thanks

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

    'Blame Richard Stallman' LMFAO!

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

    I didn't understand about Auth 2.0 how to implement but know i understand thanks 💯🔥

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

    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 ?

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

      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

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

      It's mostly about keeping demos simple. I'm going to make some TS specific videos soon tho.

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

      @@Fireship oh thats great timing, I just fully switched to TS and already have had 100 google searches

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

    I had a feeling that ‘Bob’ was ‘you’ even before I saw this video!!

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

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

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

    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!

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

    One day his videos will be made by AI and we just dont know it yet.

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

      Lots of fake news videos on TH-cam were generated this way

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

      Lol 😂😆

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

    Even I was going to make it tomorrow love you man

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

    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.

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

    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!

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

    When your bot talks to my bot, you lose your lunch money.

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

    My next video: asking copilot to make an ai twitter bot

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

      Yes! Btw I love your copilot videos ❤️

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

      yessss

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

      Big fan Virej!!

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

      Do this, It'll be interesting to see what it does

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

      Owh i actually know u

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

    Your content is pure dope!

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

    Jeff is still my favourite tech youtuber

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

      Already almost 1.1 million subscribers. Road 2 by June? Then 3 by Dec? Then 5 by 2024 🤣

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

    thanks man for the final note

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

    This is so dope. I gotta make a comedy bot soon

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

    This is a great video, thanks a lot!

  • @user-bs6jy4tx2k
    @user-bs6jy4tx2k 2 ปีที่แล้ว +4

    Огромное спасибо за дословно обучающий ролик!!

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

    Good video. Post more videos about OpenAI

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

    Teach Bob to make videos like you do. Ultimate passive income

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

    Wohooo, Loving the video so far

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

    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.

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

    i got a question, you use await in your code but there is no async why does it work?

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

      You just can add an async before (request, response) works similar to this code

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

    Thank you Lord fireship

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

    I'm a simple man, I see Meme Man, I press like

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

    Thanks for this bot!

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

    I ♥️ how cat was used to represent a hacker. You seem to be a beluga fan.

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

    How get Callback URL if I'm using python in visual studio code? Please reply

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

    Не могу выразить своё счастье словами. Очень давно искал эту информацию. Спасибо огромное!!

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

    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.

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

    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

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

    We need more video like this

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

    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.

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

    You are a mind opener master.

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

    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?

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

    Thanks man! You saved my job haha

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

    You’re a genius!

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

    Never misses

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

    Rest In Peace Bob .

  • @xerxes-ei9gl
    @xerxes-ei9gl 2 ปีที่แล้ว

    😂😂😂the start was just so funny

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

    bro, you are awesome!

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

    Let’s goo nice work fireship

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

    @Jeff starring your own repositories is like liking your own facebook posts ;-P

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

    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

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

      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.

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

    I’m definitely going to build this

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

    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? 🤔

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

    carry the fire
    FIRESHIP

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

    Whoaa...Man you're lit 🔥

  • @user-bs6jy4tx2k
    @user-bs6jy4tx2k 2 ปีที่แล้ว

    Автор молодец!! Выпускайте подобные ролики почаще!!

  • @samanthataylor8606
    @samanthataylor8606 9 วันที่ผ่านมา

    Cool i pefet your bot better than the ones we have now

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

    Can you share how these amazing tweets are being made? which combinations are used?

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

    Bob does exist, you wanna bet? 😂

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

    Thanks Jeff.

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

    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?

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

      they still need your app client id and client secret.

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

      @@necoreaper And those strings are only stored, where? As ENV variable only?

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

      @@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
      @mikopiko 2 ปีที่แล้ว

      @@necoreaper Oh okey, didn't know about the client_id & client_secret!

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

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

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

    Waiting for the video on Apache Kafka

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

    You rock 🗿 Banger 💥
    In my mother tongue, *Oli wakabi*

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

    Where did you get the functions folder from? Kind of just appeared in the video

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

    Whenever I run the server and try to visit the callback url shown at 5:22, it winds up timing out after a minute. Thoughts?

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

      you dont visit the callback url. if you check the terminal after running "firebase serve", you should see a line saying "functions[us-central1-auth]: http function initialized...". simply copy the url at the end off this line. that is your auth url

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

      you will only see this if your code works correctly.
      if you get an await error, you need to make the function async

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

    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?

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

      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.

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

      Thanks @@temps1959 for your advice :)

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

    Plot twist: this video was created completely by OpenAI

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

    Please make a tutorial on how to make a ratio AI for Twitter 🥺 u make the best tuts and vids 🙏

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

    IDK if you're bot or an real person.
    Love your content dude ❤️

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

    Great video, but where the AI at (NVM it was Bob's face)

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

    Hi fireship , how about making some videos about "do we need math to became web delopers? "

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

    idol 🙌

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

    Don't die 🔥 never dies

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

    Anyone have error with being able to load function definition from source, happened after I finished step 1, wouldn’t let me fire base serve after that.
    If you know how to help please let me know

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

      expand on this problem m8

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

    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 ?

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

    why does the text on your screen always look so crisp? I'm jealous

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

    Can people create bots to work on already existing accounts? Like something they can turn off and on, running in the background to comment fast. I'm trying to gather info on whither or not people are basically 'cheating' to claim commissions, etc. on Deviantart (exciting I know uAu")
    There's comments that sometimes show up blank, or get double posted. It's also really suspicious on how quickly comments will fill in... Such as an opening being posted, clicked on the seconds old post, and there's already 5 comments.
    I really don't know what to do to even determine if a bot was really used, I just know it's ruining people's chances in communities and there needs to be a push away from using DA comment claiming to avoid bot users.

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

      It was a bot.

  • @yuriik.707
    @yuriik.707 2 ปีที่แล้ว +1

    Jokes aside, I actually know a dude who looks a lot like Bob. And he's JavaScript developer.

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

    I have been struggling the last couple days go get my own twitter bot up, thanks for the vid!

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

    prompt : "Tweet that will give me a job"

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

    Big F for Bob. Thanks for the upload