🔴 Let's build a Facebook Clone with REACT.JS! (Next.js, Tailwind, Image Uploading, Facebook Login)

Sdílet
Vložit
  • čas přidán 28. 08. 2024

Komentáře • 441

  • @SonnySangha
    @SonnySangha  Před rokem +6

    📬Do you want DAILY coding problems sent DIRECTLY to your Inbox? (with solutions the next day) 👉 links.papareact.com/university

    • @ahmadabdulkadir245
      @ahmadabdulkadir245 Před rokem

      pls what is the name of the intrumental you used in the beginning of this video sir

  • @shwetadeshmukh7229
    @shwetadeshmukh7229 Před 3 lety +10

    Will watch this again. Was awake till 2:30 AM IST. This one is definitely on my list to build along with the Hulu clone. Thanks Sonny for your dedication inspite of technical difficulties.

  • @LatinoWebStudio
    @LatinoWebStudio Před 2 lety +12

    This is awesome! I started learning React a few weeks ago but then found out React by itself is CSR and I need SSR since I'm building web apps for clients and their websites need to be crawled so it's awesome to see all these tutorials (from playlist) on NextJS. I'm definitely going through all of them.

  • @varunbhatt35
    @varunbhatt35 Před 3 lety +33

    Letss goo broo.. you managed to pull this off in just 3hr 40 mins even after many glitches and unwanted bugs .. 💪💪

  • @knightrider192
    @knightrider192 Před 3 lety +1

    So far the Best Tutorial video i have ever seen on CZcams please please make more video's like this where you explain everything like this and make it from scratch and please keep these video available for us forever they are absolutely great

  • @chinmaymehta8200
    @chinmaymehta8200 Před 3 lety +4

    Tip: Anyone who gets stuck with sonny at the point where the server restart doesn't pickup tailwind. Go to tailwind config and there CUT all the contents and PASTE them back -> Save. Now you should see warning for the jit compiler in the terminal. That saved me a lot of time.

    • @martinbradley80
      @martinbradley80 Před 3 lety

      I find that my VS Code doesn't like the directives within the global.css file. If/when I resave the file and then close it, the initializations seem to work more consistently.

    • @chinmaymehta8200
      @chinmaymehta8200 Před 3 lety

      @@martinbradley80 Oh nice. I think this issue is because we're using jit. That's why it might not be picking up tailwind configs.

    • @anuvapandya8287
      @anuvapandya8287 Před 2 lety

      This helped, thanks!

  • @thunderclap2060
    @thunderclap2060 Před měsícem

    this looks super fun, for sure trying this build next playthrough

  • @mariacamilabaronamartinez6748

    I do really appreciate what you made for the community, is INCREDIBLY AWESOME, it would be awesome if you can explain how to deploy this project, I've been struggling with that

    • @mariacamilabaronamartinez6748
      @mariacamilabaronamartinez6748 Před 3 lety +1

      @@gg-yr4bp Thank you!! I already search a lot and end up learning a lot of cool stuff and deploying my apps

    • @doladonald7728
      @doladonald7728 Před 2 lety

      Hi can give pointers on how you went on about that please?

  • @Phas0ruk
    @Phas0ruk Před rokem +1

    Love your videos. Just bought the github repo access. Thanks Sonny. Love that you're representing the UK too!

  • @SonnySangha
    @SonnySangha  Před 3 lety +26

    Watch my REACT BASICS 101 class for FREE with 1 month FREE SkillShare access here (First 1000 people) skl.sh/2Srfwuf

    • @fzmhd3324
      @fzmhd3324 Před 3 lety +2

      Hei sunny sir how you're importig automatically iside vs code wich auto import extension you're using sir

    • @s_e_s_h981
      @s_e_s_h981 Před 3 lety

      Hi Sonny, The Fb clone was an amazing journey, i loved it. I'm facing an issue with the authentication in production stage, i click signin but it's not redirecting me to the FB home page, i have added the domain url in my fb dev account. Would be really great if you could help me.
      Also Looking forward to your future builds💥

    • @NoName-sm8uz
      @NoName-sm8uz Před 2 lety

      Хххх

  • @rkcoder
    @rkcoder Před 3 lety +5

    These live coding sessions are awesome, short tutorials are nice but seeing the full process like this is also suuper valuable. Thanks for the video and hope you continue making more!

  • @TharunKumaar
    @TharunKumaar Před 3 lety +1

    Thank you bro it took me a week to sit watch and do this with you! I learnt a lot and I'm gonna do all the other apps you have done! Hope I become a pro like you one day!

  • @tuanlam999
    @tuanlam999 Před 3 lety +4

    Awesome. More builds with Next.js, Tailwind CSS please.

  • @andresgardiol8111
    @andresgardiol8111 Před 3 lety +3

    Nice video!! I really like that you use the functional approach with hooks.
    What about organize component in a more "Clean Architecture" way?

  • @pranaytejachethireddy9035

    Thank you so much Sonny. This video made my day . Please continue making videos like this . Learnt a lot from this video .Once again Appreciated for your help .

  • @thetutorialdoctor
    @thetutorialdoctor Před 3 lety +2

    I have to do this one. Glad you are using tailwind CSS

  • @adnan_asaad
    @adnan_asaad Před rokem

    I love you dude ❤ , i can say easily your content for web is number one on CZcams, keep going brother

  • @parshvarunwal4559
    @parshvarunwal4559 Před 3 lety +3

    Holy Cow! Amazing build :), but guys don't just code along, add some features from your side!

  • @brunotravesi7385
    @brunotravesi7385 Před rokem

    Great videos man, you are helping and teaching to a lot of people around the world, send you a hug from mexico, if one day you come to mexico city i owe you some tacos 👍

  • @ashfaqulbari7328
    @ashfaqulbari7328 Před 3 lety +2

    I have to say, I enjoy watching your thought process when you encounter technical difficulties/challenges, and how you overcome them, well done! Awesome Tutorial!

  • @abderrahimslam2892
    @abderrahimslam2892 Před 3 lety +4

    Hi sonny! I noticed that you worked so much with firebase in the builds you made. But most companies use a custom backend, we need something like node js backend to put in our resume to help us find a job.

    • @AjeetKumarrr
      @AjeetKumarrr Před rokem

      But you can apply as a frontend devloper.

  • @theetechverge7723
    @theetechverge7723 Před 3 lety +5

    I Love Your Energy Papa react....#papa fam

  • @rogeliovazquezmejia2929

    Your content is awesome! I really love everything you do!
    it's unfortunate to see only 3000 views when you content is unique. A hug bro.

  • @rangabharath4253
    @rangabharath4253 Před 3 lety +1

    Awesome as always sonny. Keep rocking 😎👍

  • @always-shaiva
    @always-shaiva Před 3 lety +1

    Thank you my guru for this wonderful hardwork

  • @handa1780
    @handa1780 Před 2 lety

    Subbed!, I was learning nextjs also tailwind and looking forward to project based tutorial to deepen my understanding about nextjs and found your videos, I learned a lot from this tutorial and hopefully I could use this in my own projects or something else, looking forward to your upcoming tutorial... you're the best man!!

  • @reactninja6567
    @reactninja6567 Před 3 lety +4

    Too good bro! keep goin.. just curious why you left clever programmer?

  • @connorholm2859
    @connorholm2859 Před 3 lety +1

    Thanks for the vid! I followed along and everything was super beneficial! I'm stuck on deploying the application and think a video on it would be super helpful. Not necessarily for this example but just the concept of deploying a react/next.js app is super educational. Thanks again fo the vid

  • @teguhbadrusalam295
    @teguhbadrusalam295 Před 3 lety +1

    Sonny is a Legend!!!

  • @phanthanhtao9492
    @phanthanhtao9492 Před 3 lety

    Hi sonny, i from vietnames.
    I really admire you, I learned a lot about REACT and UI framework CSS from your channel
    Thank You so much

  • @dragonburger5676
    @dragonburger5676 Před 3 lety +3

    Incredible tutorial! Perfect pace and explained so well. I’ve watched tons of react videos and this is top notch

  • @ThugLifeModafocah
    @ThugLifeModafocah Před 2 lety

    Man, this is awesome content. I really appreciate, you are making my life better. Thank you.

  • @spinspin3523
    @spinspin3523 Před 2 lety

    this guy is a legend

  • @JoglosemarFoodie
    @JoglosemarFoodie Před 3 lety

    Thumbnail is very hilarious 🤣

  • @twenyone5034
    @twenyone5034 Před 2 lety +3

    Anyone knows what's the solution for ---> "[next-auth][warn][NO_SECRET]"
    when clicking on the sign-in with facebook button this one above showing up on the console..
    btw Sonny u are a legend gold videos!

    • @abhibhattarai1748
      @abhibhattarai1748 Před 2 lety

      i am getting the same issue. Were you able to figure it out?

    • @twenyone5034
      @twenyone5034 Před 2 lety

      @@abhibhattarai1748 no bro but Ill try to rebuild it again next week

    • @chinmayeegowda5867
      @chinmayeegowda5867 Před 4 měsíci

      ​@@twenyone5034did you got that?

  • @milad8436
    @milad8436 Před 2 lety

    This is exactly what I was looking for

  • @vikranthkanumuru8900
    @vikranthkanumuru8900 Před 3 lety

    Love both your content and your monetization strategy, novel and effective, you have my sincere admiration

  • @harsh_nandan
    @harsh_nandan Před 3 lety

    Amazing debugging. I too got irritated when the bug was not getting identified. Great Experience being here.

  • @Manjaco
    @Manjaco Před 3 lety

    the NextAuth feature is insane !!!

  • @hangout7081
    @hangout7081 Před 3 lety

    I really love the thumbnail

  • @pokerfaced8139
    @pokerfaced8139 Před 3 lety +8

    hi sonny , the JIT compiler is buggy and sometimes doesn't starts up , I tried saving the "tailwind.config.js" file again and then it worked for me .

  • @Mamadu-li5do
    @Mamadu-li5do Před 2 měsíci

    keep on the good work

  • @mathefeitosa
    @mathefeitosa Před 3 lety

    This way of teaching is awesome! I liked it! Learned a lot!

  • @danielrocha5774
    @danielrocha5774 Před 3 lety

    Great, dude. You are awesome
    Thanks for all the knowledge you spread

  • @markyt4960
    @markyt4960 Před 3 lety +1

    This is such a nice video and I learnt a lot in this video. But the thing where I got stuck is that how do I deploy this app ?

  • @ibrahimoguzhanyilmaz3451
    @ibrahimoguzhanyilmaz3451 Před 3 lety +1

    what was the point of using nextjs? You did not use any of the Data Fetching methods of nextjs like getServerSideProps or getStaticProps or initialProps... Did you prefer nextjs only for the ease of authentication and routing?

    • @ri7az
      @ri7az Před 2 lety

      Yes he does.

  • @bilalfakhro1363
    @bilalfakhro1363 Před 3 lety +2

    thank you Sonny for how you explain everything in details....
    I tried to do the same as you and build this app from scratch but I bumped to a smal issue and I was wondering if there is someone else getting this error from facebook saying that
    Facebook has detected that your App isn't using a secure connection to transfer information.
    Until Your App updates its security settings, you won't be able to use Facebook to log in to it.
    Anyone?

    • @justinsospeter
      @justinsospeter Před 3 lety +1

      I bumped into that right now, did you find a solution?

    • @le_matur
      @le_matur Před 2 lety

      Same here!!

    • @ri7az
      @ri7az Před 2 lety

      @@le_matur delete the FB apps, start fresh and make a new app don't add anything to it, now create a new test and then add the login product to the test app instead then it will work just fine.

  • @y.m.o6171
    @y.m.o6171 Před 3 lety +1

    hey man such a big fan of your channel man ! can you please pretty please do a clone of something like figma ? just the layouts and the resizing sidebars and what have you !

  • @kawsarkhan5876
    @kawsarkhan5876 Před 3 lety

    You guy just amusing❤️❤️❤️ Love u a lot man❤️❤️

  • @ossamaelidrissi2624
    @ossamaelidrissi2624 Před 2 lety +1

    Hi guys , I build an app with next js and mysql but i don't know how to store links of images in the db , when i store the image directly it take more space

  • @mrcharm767
    @mrcharm767 Před 2 lety +1

    when you those things happened to you and you said this is called bad day i can sense it ,it happens to me 95% of time

  • @sheilgandhi
    @sheilgandhi Před 3 lety +6

    Hey Sonny,
    I had some trouble deploying this Web App. I think it's has something to do with the Facebook Developer settings. Would love some help or a quick tutorial.
    Thank You

    • @Groot-yl1lf
      @Groot-yl1lf Před 3 lety

      Hello @Sheil Gandhi. Did you get a solution to this.

    • @sheilgandhi
      @sheilgandhi Před 3 lety

      @@Groot-yl1lf No I haven't

  • @DiazGunturFebrian
    @DiazGunturFebrian Před 3 lety

    You are legend. I am gonna try it by following your videos 👍

  • @mdsaiful6294
    @mdsaiful6294 Před 2 lety +1

    Nice video good video

  • @Hamza-ll3uf
    @Hamza-ll3uf Před 3 lety +2

    Hi Sonny! Could you do a video talking about best practices for storing data in the real-time database?

  • @MementoNeli
    @MementoNeli Před 3 lety

    YESSSSSSSSSSSS, another daily.dev user \o/

  • @harshahirushan2544
    @harshahirushan2544 Před 3 lety

    I love you so much dude thanks for helping me this was fantastic ............ I have never stopped this is my first time one we meet in a live there i got you thanks😍😍😍😍😍😍

    • @SonnySangha
      @SonnySangha  Před 3 lety +1

      That is great dude!!! Keep on going and thank you so much for the support! 💪🏽💯

    • @harshahirushan2544
      @harshahirushan2544 Před 3 lety +1

      @@SonnySangha finally i found my coding hero .

  • @bilegtni5202
    @bilegtni5202 Před 3 lety +1

    you are awesome dude impressive omg

  • @balamurugans5711
    @balamurugans5711 Před 3 lety

    bro the effort you put is absolutely amazing keep rocking sonny !! #papa fam

  • @KlorofilASN
    @KlorofilASN Před 3 lety +2

    postImage 404 when using

    • @khafrewatkins
      @khafrewatkins Před 2 lety

      check your firebase rules. you need to change the rules in both the firestore database and the storage to: " allow read, write: if request.auth == null; " then you can access the storage and firestore without authentication

  • @aminzuar5767
    @aminzuar5767 Před rokem

    Nice one 👍👍

  • @joaosouza5218
    @joaosouza5218 Před 2 lety +1

    Isso sim que é capricho. Adorei!

  • @jafar3177
    @jafar3177 Před 3 lety +1

    Hi bro. All of your videos are really excellent. If you make us video how to build SpaceX website with React. It will be insane and excellent. Bro

  • @mrcrypticx_1
    @mrcrypticx_1 Před 2 lety

    damn, i see how much of a toll this puts on you man!

  • @magiccubing2587
    @magiccubing2587 Před 3 lety

    PAPA never disappoints

  • @woaken
    @woaken Před 3 lety +2

    Can you make a tutorial on making Clone of the App to be able to connect with the site coded?

    • @woaken
      @woaken Před 3 lety +1

      Oh and thank you so so so much for creating this Clone, I forgot to mention my bad!!! 🤦🏽 peace to you! ✌🏼

  • @shopsrise5137
    @shopsrise5137 Před 3 lety

    What a wonderful content. Thnku PAPA REACT.

  • @haidinurhadinata2661
    @haidinurhadinata2661 Před 2 lety

    thank you so much for your video, it's very helpfully

  • @ajsliv5650
    @ajsliv5650 Před 3 lety +1

    HI, Sony Thanks for this amazing project: Mashallah .. from PK❤🚀🚀

  • @NeverCodeAlone
    @NeverCodeAlone Před 3 lety

    You are so awesome with a lot of power. What do you think how long it takes to handle tailwind out of the box without struggeling in details?

  • @pjos2981
    @pjos2981 Před 3 lety

    Pls make a mern stack course as per industry standard ,most in youtube are just simple applications

  • @Billiam112
    @Billiam112 Před 3 lety

    Really great content, thanks! However, can you get stats on your viewers and the screen/device they use? If so, and if multiple of us is on smaller screens like phones (like myself) watching, you can really bump the font size to the double. On phone it is really hard to see (one has to really focus hard to see). As a "CZcams phone watcher", it's a common issue, unfortunately. But if you have the stats of your viewers, perhaps something to look into? Thanks again for great content. 😊

  • @billwhite515
    @billwhite515 Před 2 lety

    was curious if you could update firebase to 9.6ish and modify so that the firebase stuff still works because I had to use 8.5.0 to get it to work like yours. Great Content

  • @rtemis9016
    @rtemis9016 Před 3 lety +2

    Hey Sonny !!
    What's the song in the intro?
    Btw, love this tutorial

  • @mr.kouhadi5753
    @mr.kouhadi5753 Před 2 lety +1

    I need your help guys. at 03:01:25 firebase web v9 update ruined my code :(
    const [realtimePosts, loading, error] = useCollection(
    db.collection('posts').orderBy('timestamp', 'desc') /// this causes an error
    );

    • @SonnySangha
      @SonnySangha  Před 2 lety

      This syntax will not work with Firebase v9 downgrade to v8 or rewrite with the new syntax

    • @Casual20232
      @Casual20232 Před 2 lety

      @@SonnySangha give us new syntax

  • @crakton
    @crakton Před 3 lety

    I feel like crying for missing this build #papafam.

  • @flashbacksm7067
    @flashbacksm7067 Před 3 lety +5

    Love Bro .

  • @denishammad9321
    @denishammad9321 Před 3 lety +2

    Outstanding work Papa react

  • @sudipjs
    @sudipjs Před 3 lety

    Let's go sonny thanks for awesome stuff 😁

  • @jeevanstha57
    @jeevanstha57 Před 2 lety

    please make a video on uploading multiple image and render according to user in react js with firebase

  • @moncere
    @moncere Před 3 lety

    This is dope man 🔥

  • @AntonioSantos-ve6zv
    @AntonioSantos-ve6zv Před 3 lety

    Awesome content, as usual!

  • @deanbarber8851
    @deanbarber8851 Před 3 lety +3

    Hey Sonny,
    I couldn't deploying this Web App. I have been stuck at solving this problem for past three days. Facebook is continuously blocking all domain names from vercel. It is saying "Can't Load URL: The domain of this URL isn't included in the app's domains.' Can you please give us a quick tutorial on how to deploy the app or point me to the right direction on how to solve it. Thank you

    • @WeryZebra
      @WeryZebra Před 3 lety

      try adding your new domain to face book devloper counsler something so it will be authorized domain then you can use auth, i have used google...but i think that might be a
      solution

  • @AJQuickShow
    @AJQuickShow Před 3 lety

    Awesome bro clean and elegant ♥️♥️

  • @erickgutierrez6471
    @erickgutierrez6471 Před 3 lety +1

    I really like how clean you make the code, I want to ask you something, is there a way to load faster the images from the post?

    • @SonnySangha
      @SonnySangha  Před 3 lety

      Hey thanks!! Yes! Look into caching technique!

  • @josepena-bk8wd
    @josepena-bk8wd Před 2 lety +1

    Hi! nice turorial , im in 1:14:21 and when imported Provider, I have an error Module not found .client, what can be? I install and reinstalll the package fine.

    • @INTQEASDSDET
      @INTQEASDSDET Před 2 lety +1

      Same problem bro... How did you solve it??... I haven't found the solution from two days

    • @cybermaxi7
      @cybermaxi7 Před 2 lety

      @@INTQEASDSDET got same problem and noticed that they'v changed Provider to SessionProvider
      in the new and latest version 4. It worked buh i'm getting difficulty redirecting to my localhost, it's redirecting to the login page

    • @ifiokumoren6759
      @ifiokumoren6759 Před 2 lety

      Use react in place of client

    • @josepena-bk8wd
      @josepena-bk8wd Před 2 lety

      @@INTQEASDSDET the documentation has changed so u cant use Provider now I think is sessionProvider, but check out the documentation

    • @leensaboh9955
      @leensaboh9955 Před 2 lety

      Hi How did you solve the log in problem?

  • @agamjotsingh7371
    @agamjotsingh7371 Před 3 lety +8

    Hey Guys Please pray for my uncle and grandfather they may need a ventilator if their oxygen keep fluctuating please pray your prayer may save my uncle grandfather and grandmother. Please!!!!!! Please pray please🙏🙏🙏🙏

  • @victorhsu023
    @victorhsu023 Před 3 lety +1

    During Facebook auth always have error about my client id, I tried a lot of method and still have error can somebody help~~

  • @_jihad_hasan
    @_jihad_hasan Před 2 lety

    You are a great man

  • @nested9301
    @nested9301 Před 3 lety

    this guy build everthing with react js ifeel like the next video will be building react js with react js xD

  • @derealratos6332
    @derealratos6332 Před rokem +1

    those of you stock the provider import if you're using latest nextauth
    This is coded with typescript(.tsx files instead of .js)
    here is my code
    import { SessionProvider } from "next-auth/react"
    import type { Session } from "next-auth"
    function MyApp({ Component,pageProps:{ session, ...pageProps } }: AppProps) {
    //const status=getSession()
    return


    }
    export default MyApp
    extras
    onClick={()=>signIn()}
    Facebook component
    import { Session } from 'next-auth'
    session:Session as loginprops

  • @funaustralia6517
    @funaustralia6517 Před 2 lety +1

    I don't why I can not use group-hover, it's not change color.

  • @imronreviady1572
    @imronreviady1572 Před 2 lety +1

    can you zoom your editor? it's pain for my eye. I cannot see different between { } and [ ]

  • @muhammadshadreza1636
    @muhammadshadreza1636 Před 3 lety +2

    Hey Sonny! Thanks for the tutorial and it's really helpful. But while going into Facebook sign in, I see my network connection is not secure or as I know the localhost is running on HTTP format instead of HTTPS, so what can I do bro. Stuck here...

    • @muhammadshadreza1636
      @muhammadshadreza1636 Před 3 lety

      well somehow managed it by getting some tweaked up

    • @justinsospeter
      @justinsospeter Před 3 lety +1

      @@muhammadshadreza1636 I'm stuck, what did you do?

    • @ri7az
      @ri7az Před 2 lety

      @@justinsospeter create a test app and everything same

  • @RobertDe0613
    @RobertDe0613 Před 2 lety +1

    Hey Sonny...I am getting a bad error when troubleshooting session.user.image in the Header.js file. Any idea on what is causing this??? TypeError: Cannot read property 'user' of undefined

    • @Domrenz
      @Domrenz Před 2 lety

      did you solve this? got the same error..

    • @RobertDe0613
      @RobertDe0613 Před 2 lety

      @@Domrenz lol. I posted the same error for the LinkedIn tutorial. I thought I was responding to that. As you can see, there are issues with firebase and react. Does anyone have any ideas?? Sonny??

    • @Domrenz
      @Domrenz Před 2 lety

      @@RobertDe0613 I actually solved it yesterday had to do with a grammar error.
      My '_app.js' in the pages folder had this line of code like this ""
      and I fixed it to ""
      Sessions was plural.. so check each line of your code to make sure you don't have a grammar error! Hopefully this solves it.

    • @RobertDe0613
      @RobertDe0613 Před 2 lety

      @@Domrenz Hey. Thank you for responding and the advice! I checked to see if I had any spelling or syntax errors and I do not. I am almost 100% sure it relates to session.user.image in the index.js file. That is where Sonny uses that as src={session.user.image} for the tag. It is looking for an image to use and it cannot pull one because I need to upload it somewhere. Any ideas on what to do for this?

    • @Domrenz
      @Domrenz Před 2 lety

      @@RobertDe0613 interesting.. mine was a user issue in that same area. Hm...Did you try saving your tailwind.config.js file then rebooting your terminal.

  • @hauladv
    @hauladv Před 3 lety

    thanks so so so so so much Pro....... love you so much

  • @TheBoglodite
    @TheBoglodite Před 2 lety

    What's the advantage of using Firestore as opposed to having your own backend?

  • @codeitraw5241
    @codeitraw5241 Před 2 lety

    I’m curious on how you know all of these? I wanna know how to study like you

  • @HeitorYT
    @HeitorYT Před rokem

    You were using vscodium instead of vscode?

  • @ho389
    @ho389 Před 3 lety +1

    I also want to see a live performance on TypeScript!