This Package Saved My SaaS

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 มิ.ย. 2024
  • depending on a third-party api for your saas is not fun, because, well, it gives that third party the power to charge pretty much ANYTHING they want. As is the case with twitter. This is a pretty smart solution
    -- my links
    second channel (in depth videos): / @joshtriedupstash
    discord: / discord
    github: github.com/joschan21
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @WebDevCody
    @WebDevCody 10 วันที่ผ่านมา +1424

    The Twitter backend engineers while implementing that token param: “nobody’s gonna know. How would they know?”

    • @user-sc7hq4jt9n
      @user-sc7hq4jt9n 10 วันที่ผ่านมา +11

      So crazy🤣🤣🤣🤣

    • @yassinesafraoui
      @yassinesafraoui 10 วันที่ผ่านมา +69

      Also Twitter engineers: there is only one way for that to happen, someone with us made the library 😏

    • @ogs102
      @ogs102 10 วันที่ผ่านมา +3

      😂😂😂😂

    • @jellyfish1772
      @jellyfish1772 10 วันที่ผ่านมา +1

      😂😂😂😂😂😂😂😂

    • @shamunkhatri6754
      @shamunkhatri6754 9 วันที่ผ่านมา +46

      that guy is ex twitter employee 😅

  • @jugalgadhavi
    @jugalgadhavi 4 วันที่ผ่านมา +438

    That one jira ticket will speed run itself from backlog to in-progress

  • @requestfx5585
    @requestfx5585 4 วันที่ผ่านมา +123

    "it can break at any time" I think that that time was set when you uploaded this video for thousands of people to see

    • @LennyMiller739
      @LennyMiller739 5 ชั่วโมงที่ผ่านมา

      Pfffffft. As if tech giants can afford internet

  • @FlorinPop
    @FlorinPop 10 วันที่ผ่านมา +674

    I just read it as: "This packages saved my ass"

    • @davlatberdinazarov179
      @davlatberdinazarov179 10 วันที่ผ่านมา +1

      😂😂😂

    • @sora-senpai
      @sora-senpai 10 วันที่ผ่านมา +2

      Same

    • @yassinesafraoui
      @yassinesafraoui 10 วันที่ผ่านมา +6

      That's actually also correct 😂😂😂

    • @dytra_io
      @dytra_io 10 วันที่ผ่านมา +3

      should be the actual title

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

      You read it right.

  • @enclocreations4427
    @enclocreations4427 5 วันที่ผ่านมา +167

    Bro remove this

    • @reold
      @reold 3 วันที่ผ่านมา +19

      For real. We don’t want them to patch the token system

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

      Nah he prefers his 100k views which might get him $100 over a package that people might actually need in the future. He's not entitled to care about other people but there was really no need for this video, this package is well known if you need to fetch tweets. Whatever ig

    • @sippingthepeachsoda
      @sippingthepeachsoda 11 ชั่วโมงที่ผ่านมา

      @@katto1937he’s spreading knowledge to other people, gatekeeping is for clowns🤡🤡

    • @oniondesu9633
      @oniondesu9633 11 ชั่วโมงที่ผ่านมา

      twitter devs likely already knew about the package, it wasnt super obscure or unknown. they probably will break it, but it wont be because of this video

  • @Parajulibkrm
    @Parajulibkrm 10 วันที่ผ่านมา +377

    yes Josh, you don't look like that guy, that guy looks like you instead.

  • @Khari99
    @Khari99 9 วันที่ผ่านมา +136

    Only Sid would post about a security vulnerability that is needed to make his application work lol

    • @justanaveragebalkan
      @justanaveragebalkan 3 วันที่ผ่านมา +4

      it's a CDN, if you want to put something behind it you can't actually protect it otherwise it wont function, so technically if they want to keep the same functionality for the same cost, the best they can do is to obscure it a bit more, but eventually people would break it.
      So technically this is not a security vulnerability, but a really cheap way to cut costs, so they might as well just make the posts free to fetch as people would abuse this regardless. Facebook, Instagram and many others have this as well, or least something similar that can be exploited to get the content off their platforms.

    • @flybackrs
      @flybackrs 2 วันที่ผ่านมา +2

      This is by no means a security vulnerability, this is the intended function of the API and this API has to be public because of how it's used. To prevent ""abuse"" like this you'd need to monitor who's hitting it and how often.

  • @nickolaki
    @nickolaki 10 วันที่ผ่านมา +244

    Speedrun before twitter patch the underlying solution 😂

  • @megamind452
    @megamind452 10 วันที่ผ่านมา +269

    Thanks for reporting this bug, it will be fixed in this current sprint - X engineer after watching this

    • @buddy.abc123
      @buddy.abc123 10 วันที่ผ่านมา +69

      How would they fix it without breaking millions of embeddings?

    • @cryptomaniac1866
      @cryptomaniac1866 10 วันที่ผ่านมา

      They just need to change the function that creates the token and make it server side only ​@@buddy.abc123

    • @michaelmontero2902
      @michaelmontero2902 10 วันที่ผ่านมา +3

      😂😂😂😂

    • @petergg9096
      @petergg9096 10 วันที่ผ่านมา +6

      Lmao the current sprint

    • @Oussama-uo1gf
      @Oussama-uo1gf 6 วันที่ผ่านมา

      @@buddy.abc123 they can just make it so that the function that is used to generate the token based on the tweet id no longer works.

  • @davisphem
    @davisphem 10 วันที่ผ่านมา +226

    The creator of react-tweet must be an undercover spy at X 😅

    • @karthikeyajidagam8068
      @karthikeyajidagam8068 10 วันที่ผ่านมา +8

      Vercel made it broh 😂

    • @Iliannnn
      @Iliannnn 4 วันที่ผ่านมา

      @@karthikeyajidagam8068 no, vercel is just what they used to host the documentation. they didn't pay for a domains so they got a free vercel one

  • @algobuddy
    @algobuddy 10 วันที่ผ่านมา +42

    Dude, this is like a game-changer for small developers and startups!

    • @rym8349
      @rym8349 5 วันที่ผ่านมา +16

      it will get patch i will not count on it

    • @katto1937
      @katto1937 วันที่ผ่านมา

      @@rym8349 Yup especially after a youtube video that so graciously points it out

  • @imkir4n
    @imkir4n 10 วันที่ผ่านมา +63

    Don't let Elon see this.

    • @FeinsterSchmaus
      @FeinsterSchmaus 10 วันที่ผ่านมา +4

      Layoffs coming oh boy…

    • @weeb3277
      @weeb3277 10 วันที่ผ่านมา +2

      too late
      i already reported the video
      stitches for leeches

    • @catharsis222
      @catharsis222 10 วันที่ผ่านมา

      @@FeinsterSchmauslaid off if the software enginners don’t do something as directed by manager

  • @BambeH
    @BambeH วันที่ผ่านมา +1

    Back in my school days, we used to use the Twitter API as an exercise in web fetching.
    Guess teachers will need to find a new site to do this exercise with.

  • @talhaibnemahmud
    @talhaibnemahmud 10 วันที่ผ่านมา +10

    I was more amazed that the package is from Vercel 😮

  • @Nin_Cada
    @Nin_Cada 10 วันที่ผ่านมา +4

    This video was so informative that we got to see his twin brotha.

  • @this_is_samridh
    @this_is_samridh 5 วันที่ผ่านมา +12

    bro , you should delete this video

  • @quamzgraphix9826
    @quamzgraphix9826 10 วันที่ผ่านมา +1

    Very cool library, thanks for sharing

  • @softmerit25
    @softmerit25 10 วันที่ผ่านมา +1

    Honestly, it's really cool. The simplicity of the react tweet is amazing. A happy ending indeed.

  • @elormtsx
    @elormtsx 10 วันที่ผ่านมา +1

    this is gold 😁 thanks for sharing this 😅

  • @EnglishRain
    @EnglishRain 4 วันที่ผ่านมา

    Great video, thanks for sharing!

  • @0xPanda1
    @0xPanda1 10 วันที่ผ่านมา +86

    Its interesting but the down side is Twitter may change something in thier thus the code would stop working

    • @user-ce5nc8hz7w
      @user-ce5nc8hz7w 10 วันที่ผ่านมา +26

      Not with the 3 remaining engineers :d

    • @romankoncek150
      @romankoncek150 8 วันที่ผ่านมา +10

      If the code stops working, all embeds will stop working. They can only fix it for new embeds, so this crappy code is destined to stay in their codebase forever, lol :)

    • @0xDEAD_Inside
      @0xDEAD_Inside 3 วันที่ผ่านมา +2

      ​@@romankoncek150 Elon is unhinged enough to do just that!

  • @BooksWeCanRead
    @BooksWeCanRead 10 วันที่ผ่านมา +2

    Yaaayyy ✨ and you are nothing like that sid guy you rock! 💜✨👏👏

  • @dabbopabblo
    @dabbopabblo 4 วันที่ผ่านมา +2

    I theorize that how they generate the token probably changes regularly to combat this, but nothing stops you from scraping the code that generates it and extracting the new method on a whim.

  • @VincentFulco
    @VincentFulco 9 วันที่ผ่านมา +1

    Great vid, thanks!

  • @JakobRossner-qj1wo
    @JakobRossner-qj1wo 10 วันที่ผ่านมา +1

    Awesome way of showing it with making the HTTP request yourself

  • @_gekyumeman4127
    @_gekyumeman4127 4 วันที่ผ่านมา

    I had this same problem earlier last year. So i spent some time reverse engineering the twitter embed API myself and worked like a charm.

  • @sanchaythalnerkar9577
    @sanchaythalnerkar9577 5 วันที่ผ่านมา

    lmao crazy good !
    is there a similar package for first getting the tweets of the user?

  • @sabujghosh8474
    @sabujghosh8474 10 วันที่ผ่านมา

    Was looking for something like this for so long

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

    Hi, I see you have an option to import from discord too, how does that work? Thanks in advance!

  • @rickdg
    @rickdg 10 วันที่ผ่านมา +1

    It's a good starting point before actually paying for the API. Perhaps it's still available because you still need the ID of every tweet you want to "embed"?

  • @Simple_OG
    @Simple_OG 10 วันที่ผ่านมา

    Awesome stuff

  • @JEM_GG
    @JEM_GG 10 วันที่ผ่านมา +2

    I did this exact work around last year for get-ratioed a ratio viewer app xD

  • @ricko13
    @ricko13 7 วันที่ผ่านมา

    ok but how do you retrieve like new tweets from users? without manually copying-pasting tweet URL ?

  • @bar6732
    @bar6732 8 วันที่ผ่านมา +3

    Nice! I wanna steal that UI too, care to share the repo?

  • @mertsandepalm962
    @mertsandepalm962 10 วันที่ผ่านมา

    Interesting. Good shit bro...

  • @PootCoinSol
    @PootCoinSol 10 วันที่ผ่านมา

    But how do you get every user that liked / retweeted the post?

  • @trolololo720
    @trolololo720 3 วันที่ผ่านมา +5

    "Should I just take my SaaS idea and put it in the trash can?"
    Yes, as a general rule all SaaS ideas should be put in the trash

  • @whizzie3367
    @whizzie3367 10 วันที่ผ่านมา

    I was hoping they could have something API that checks If an account follows me... I need it to complete my saas...
    Do you have any idea on how I can achieve this??

  • @edenassos
    @edenassos 10 วันที่ผ่านมา +2

    It's cheaper to do text tracking on the page with a cloud sandbox and have it screenshot tweets for you.

  • @arturkre5793
    @arturkre5793 10 วันที่ผ่านมา

    does this also exists in a similar way for facebook ?

  • @hipdev_
    @hipdev_ 10 วันที่ผ่านมา +33

    The creator of react-tweet is my brother, I'm so proud of him 🤗!

    • @UmairSadaqat
      @UmairSadaqat 10 วันที่ผ่านมา

    • @yassinesafraoui
      @yassinesafraoui 10 วันที่ผ่านมา +1

      So your brother works at Twitter?

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

      @@yassinesafraoui Take a closer look 2:40

    • @0xDEAD_Inside
      @0xDEAD_Inside 3 วันที่ผ่านมา +1

      ​@@yassinesafraoui No, at vercel!

    • @guibrandalisee
      @guibrandalisee 3 วันที่ผ่านมา

      How did he came up with the formula to generate the token param? Because I was tinkering around and found out that that param does nothing, you just have to put any value into it, as far as it not being blank it will work just fine

  • @semyaza555
    @semyaza555 2 วันที่ผ่านมา

    0:44 Sorry Josh but I can't unsee this now...

  • @KellenProctor
    @KellenProctor 10 วันที่ผ่านมา

    Josh is the alternate universe version of Sid that grew up in a structured household and is going on to have a monster successful career.

  • @oaklyfoundation
    @oaklyfoundation วันที่ผ่านมา

    Where did u get that UI its sick.

  • @Lars16
    @Lars16 8 วันที่ผ่านมา

    Thanks for sharing, quick and to the point as always Josh. Awesome package and everything, but who in their right mind would consider shilling out $5000 per month for the Pro tier subscription when you haven't even found product market fit and are at 0 users. I get the point that you need to find a feasible solution to what you are building before starting out, but you could launch your SaaS with the free or basic version and upgrade as you start to monetize your SaaS.

  • @hl6903
    @hl6903 10 วันที่ผ่านมา

    Awesome need more video like this

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

    amazing!!! you are a monster

  • @Sandwich4321
    @Sandwich4321 วันที่ผ่านมา

    good to know thst this exists, i usually just use the twitter scraper i wrote in python for this sort of thing

  • @eVashioNN
    @eVashioNN 8 วันที่ผ่านมา

    Unexpected shut down or a change in API can be quite surprising :D

  • @CAG2
    @CAG2 18 ชั่วโมงที่ผ่านมา

    That function for calculating the token... it seems completely arbitrary, as if they just threw together of the most stuff together in hopes nobody would reverse-engineer it. Kudos to the guy for somehow figuring it out, even if this will probably will be patched very soon.

  • @cnikolov
    @cnikolov วันที่ผ่านมา

    whats more interesting is how they parse it back to the original id.

  • @jakehartigandesign
    @jakehartigandesign 9 ชั่วโมงที่ผ่านมา

    I’d now like to know how to gather all of my past tweet id’s, then pull the rest of the data as shown.
    Seems like it’s still limited in that regard.

  • @scalor
    @scalor 2 วันที่ผ่านมา

    This video was recommended. 1st time seeing anything from your channel. Let's see how fast this hole gets patched.

    • @appelnonsurtaxe
      @appelnonsurtaxe 2 วันที่ผ่านมา

      it can't, that'd break every single tweet embed on every website

  • @4twi352
    @4twi352 10 วันที่ผ่านมา +6

    I'm interested how they reverse-engineered the token part, holy

    • @RealTkco
      @RealTkco วันที่ผ่านมา

      As the video mentions this is for embeding a tweet into a site, copying the code it gives you for multiple tweets and comparing, volia.

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd 10 วันที่ผ่านมา

    Thank you so much

  • @FlorinPop
    @FlorinPop 10 วันที่ผ่านมา +2

    "You do not look like that guy" **wink, wink** 😉

  • @deepshaswat
    @deepshaswat 10 วันที่ผ่านมา

    I am also building something which requires to do the user lookup, please let me know if you find anything similar

  • @Channel-cy4lh
    @Channel-cy4lh 10 วันที่ผ่านมา +2

    Great video Josh. This is really good to know about.
    My only concern, as you mentioned, would be the question of how long it will be before this method is broken or blocked by them. I suppose it's just a matter of ensuring this code is isolated enough that you can swap it out within your functionality in the future.
    And, you know what, you kinda do look like Sid....

  • @zorzysty
    @zorzysty 10 วันที่ผ่านมา +18

    You TOTALLY look like Sid :D

    • @weeb3277
      @weeb3277 10 วันที่ผ่านมา +2

      reported for hate speech

  • @belkocik
    @belkocik 10 วันที่ผ่านมา +2

    Who came up with this idea to generate a token like this? Is it production ready?

  • @enijar
    @enijar 3 วันที่ผ่านมา

    Na that Sid comparison caught me off guard 😂

  • @RiteshNEVERUNIFORM
    @RiteshNEVERUNIFORM 8 วันที่ผ่านมา

    Must been an Laid of employee traking revenge on Elon

  • @uneebbhatti1388
    @uneebbhatti1388 4 วันที่ผ่านมา

    Bro why do I need to store a tweet in database, what is the main purpose of your SAAS?

  • @LongBoy.0
    @LongBoy.0 วันที่ผ่านมา

    I'm still not clear on what's actually happening. why is a syndicate URL? did they just scrape and reverse engineer the database? or did they just figure out how to reverse engineer real twitter api keys that actually work?

  • @theawesomegamer123
    @theawesomegamer123 3 วันที่ผ่านมา

    Genuinely curious as a newbie, how is this allowed? Wouldn't this be a huge concern for X as a profit loss?

  • @MrAlao675
    @MrAlao675 10 วันที่ผ่านมา +2

    Awesome.

  • @faizanahmed9304
    @faizanahmed9304 10 วันที่ผ่านมา

    Nice vid

  • @thinzin101
    @thinzin101 4 วันที่ผ่านมา

    thanks algo

  • @sujjeee
    @sujjeee 10 วันที่ผ่านมา

    X just made user liked post private. So is there any way we can get a user liked post in similar way?

    • @Sandwich4321
      @Sandwich4321 วันที่ผ่านมา +1

      get scraping

    • @sujjeee
      @sujjeee วันที่ผ่านมา

      @@Sandwich4321 we can scrape locally but in a headless browser x will ban you.

  • @xv179
    @xv179 4 วันที่ผ่านมา

    next day at Twitter headquarters: "Aight boys, time to change the API key generator"

  • @ChezSwiiz
    @ChezSwiiz วันที่ผ่านมา

    This Package Saved My AsS

  • @theSuitCat
    @theSuitCat 10 วันที่ผ่านมา

    It want last long before Twitter Devs change that token param

  • @maxi-g
    @maxi-g 3 วันที่ผ่านมา

    the mix of english with the austrian accent is so funny 🇦🇹❤️

  • @galactusclb5733
    @galactusclb5733 10 วันที่ผ่านมา

    I have just noticed that your Sony XM5 Good one

  • @II__II
    @II__II 2 วันที่ผ่านมา

    what's the name of the graphics editor he draws in?

    • @sierragutenberg
      @sierragutenberg 2 วันที่ผ่านมา +1

      look to the left: exaclidraw

  • @Nurof3n_
    @Nurof3n_ 8 วันที่ผ่านมา +1

    this video is such Sid energy

  • @user-wr8gg9kh6l
    @user-wr8gg9kh6l วันที่ผ่านมา

    that is so coool) I think spending resources to verify auth for these semi-public routes isn't comparable to possible losses that can produce indy developers, another assumption - developers left back door)) for their 0 users per month saas))

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

    That is crazy.. 5k?!?

  • @DoorThief
    @DoorThief 5 วันที่ผ่านมา

    Review more libraries!

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

    Why is everyone using Arc now?

  • @RJRobinsonX
    @RJRobinsonX 8 วันที่ผ่านมา

    How long now before this package no longer works because of this.

  • @SXsoft99
    @SXsoft99 วันที่ผ่านมา

    "don't ask me what this does" .... modern day developers, copy paste code without understanding what it does

  • @sapienwins
    @sapienwins 10 วันที่ผ่านมา

    I'll be very surprised if it's not patched within days of this video.
    Appreciated nonetheless

  • @harshil1735
    @harshil1735 10 วันที่ผ่านมา +1

    There is one more problem with X. The android app does not have sign in with apple and therefore if you are shifting from apple to android then there is no way the user can login. I think X should start hiring more engineers.

  • @bagussaputra7576
    @bagussaputra7576 10 วันที่ผ่านมา

    bro this is cool

  • @kaustubhxdd
    @kaustubhxdd 10 วันที่ผ่านมา +2

    Elon fanboy rushing to tweet and beg him to patch this : 🏃💨
    That one dev at Twitter who'll bring this up next meeting: 🤓📝
    Josh: 🙍🏻‍♂

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

    Now twitter knows it.

  • @Oussama-uo1gf
    @Oussama-uo1gf 6 วันที่ผ่านมา

    5000$/month for the twitter api is actually crazy

  • @sgnathan.m
    @sgnathan.m 9 วันที่ผ่านมา

    I need similar thing like this for instagram?

  • @necro3311
    @necro3311 2 วันที่ผ่านมา

    I hope no one base their system on this, as a anecdote its cool, but sooner than later they will patch this the second this come widespread.

  • @ddogevandergraph1863
    @ddogevandergraph1863 4 วันที่ผ่านมา

    Simple and brilliant, haha

  • @TimeAiTales
    @TimeAiTales 3 วันที่ผ่านมา +1

    DELETE IT BEFORE I COUNT TO THREE.

  • @IftekharHossen-rv7ht
    @IftekharHossen-rv7ht 10 วันที่ผ่านมา +2

    This is the reason why math in important in CS.

    • @daphenomenalz4100
      @daphenomenalz4100 10 วันที่ผ่านมา

      ?? Yeah it is, but this is a horrible example, cuz literally reverse engineer the math twitter used 🤣and exploit it

  • @prajwalmore7554
    @prajwalmore7554 10 วันที่ผ่านมา

    Chilla chilla ke scheme batade sabko..

  • @HansFriedrich532
    @HansFriedrich532 วันที่ผ่านมา

    Who would use a SaaS to avoid taking a few seconds to copy/paste a testimonial from Twitter?

  • @vickonsscope6477
    @vickonsscope6477 10 วันที่ผ่านมา

    OH NO Josh!!!😂... You have exposed these innocent dudes..Now Twitter backend engineers would have to find a way to block that access😂😂

  • @pshycocoder
    @pshycocoder 5 วันที่ผ่านมา

    I read
    "This package save my sASS"

  • @terrabrandtech
    @terrabrandtech 7 วันที่ผ่านมา

    who else thought the video title was THIS PACKAGE SAVED MY ASS

  • @ellamurii
    @ellamurii 8 วันที่ผ่านมา +3

    thats so funny hhahahaha. i also just tried and it accepts any string as token, no need to use generate function of vercel. i wonder whats really the purpose of token as it really does not seem for validation purpose lmao. so no reverse engineering really occurred lol

    • @phoneywheeze9959
      @phoneywheeze9959 4 วันที่ผ่านมา

      can you get long form tweets/articles from this?

  • @georgebenjamin6632
    @georgebenjamin6632 8 วันที่ผ่านมา

    God, I hope this lasts