This Package Saved My SaaS

Поделиться
HTML-код
  • Опубликовано: 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 дней назад +1425

    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 дня назад +442

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

  • @requestfx5585
    @requestfx5585 4 дня назад +124

    "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 6 часов назад

      Pfffffft. As if tech giants can afford internet

  • @FlorinPop
    @FlorinPop 10 дней назад +675

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

  • @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 12 часов назад

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

    • @oniondesu9633
      @oniondesu9633 12 часов назад

      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 дней назад +378

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

  • @Khari99
    @Khari99 9 дней назад +137

    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 3 дня назад +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 4 дня назад +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 4 дня назад +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 20 часов назад

    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 2 дня назад

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

  • @jakehartigandesign
    @jakehartigandesign 11 часов назад

    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 3 дня назад

    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 5 дней назад

    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?

  • @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

  • @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

  • @TimeAiTales
    @TimeAiTales 3 дня назад +1

    DELETE IT BEFORE I COUNT TO THREE.

  • @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"

  • @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 9 дней назад

    God, I hope this lasts

  • @terrabrandtech
    @terrabrandtech 7 дней назад

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