Let's build Facebook 2.0 with REACT.JS! (Next.js, Tailwind CSS, Image Uploading, Facebook Login)

Let's build Facebook 2.0 with REACT.JS! (Next.js, Tailwind CSS, Image Uploading, Facebook Login)

Sonny Sangha

3 года назад

475,002 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@user-vp7ir6cl8p
@user-vp7ir6cl8p - 17.12.2023 05:28

Build All-In-One courier Delivery with admin panels custom and courier app

Ответить
@user-mh8ms2pw3n
@user-mh8ms2pw3n - 09.12.2023 23:53

I think you should make another video on payment proof.

Ответить
@brunotravesi7385
@brunotravesi7385 - 28.08.2023 22:02

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 👍

Ответить
@aminzuar5767
@aminzuar5767 - 02.08.2023 09:38

Nice one 👍👍

Ответить
@fatcat3513
@fatcat3513 - 28.07.2023 23:10

failed with your first steps now im stuck cause mine is looking different on vscode to yours

Ответить
@PRIYANSHUNEGI07
@PRIYANSHUNEGI07 - 08.07.2023 20:05

can you make colne of threads...!

Ответить
@arghyadutta3123
@arghyadutta3123 - 02.06.2023 13:20

After building this clone, can I circulate this among my friends and ask them to open an account here and post something so that I can see their posts and they can see mine in the Newsfeed of this clone ?

Ответить
@minthantoo3509
@minthantoo3509 - 21.05.2023 10:33

I deployed this on netlify and it was working fine. Then the app log in authentication suddenly stopping working last night and got the following error.

'This URL Is Blocked The URL "my app URL" has been blocked from Facebook.'

Got the following error in Meta for developer app, 'This domain has been identified as malicious and/or abusive.'

How do I fix this? Thank you.

Edit: it works on localhost.

Ответить
@RossJon85
@RossJon85 - 18.05.2023 06:27

when i install it dont have pages or styles

Ответить
@Aditya_sharma09
@Aditya_sharma09 - 13.04.2023 23:00

The code is not showing up properly. wasted time..

Ответить
@CsCodeway
@CsCodeway - 11.04.2023 20:03

someone help me please

i got this error

TypeError: _firebase__WEBPACK_IMPORTED_MODULE_4__.storage.ref is not a function

.then((doc) => {
30 | if (imageToPost) {
> 31 | const uploadTask = storage
| ^
32 | .ref(`posts/${doc.id}`)
33 | .putString(imageToPost, "data_url");

Ответить
@codewithharris
@codewithharris - 08.04.2023 22:23

Hey guy you're really handsome. No homo though 😀

Ответить
@rishabhthakur2270
@rishabhthakur2270 - 28.03.2023 21:11

doesn't accept auth
the sign in page from facebook redirects to out sign in component page

Ответить
@dasha.edits1143
@dasha.edits1143 - 26.03.2023 11:14

is it next js 13 ?

Ответить
@akaashvakharia6233
@akaashvakharia6233 - 04.02.2023 07:17

Oh you build face book in 3hrs 39 min ,great, Mark Zuckerberg must know that he spent his whole life building Facebook,how could you do it Sony Sangha ,in quite a less span of time 😂😂😂,I know you might feel thinking my substance of research in your video length but the title of this video indicated that you build face book in 3hrs 39 minutes,😂😂😂🤫😁,just roasting you

Ответить
@ahmadabdulkadir245
@ahmadabdulkadir245 - 04.01.2023 15:26

Pls what is the name of the instrumental beat used in the beginning of this video

Ответить
@HeitorYT
@HeitorYT - 03.01.2023 03:48

You were using vscodium instead of vscode?

Ответить
@krisztiankaposi8054
@krisztiankaposi8054 - 20.12.2022 12:09

Hi folks , can someone tell me before i start building? :D whats the different between this build and the one that Sonny built 2 years ago at the other live session? the contact bar and media querry?

Ответить
@TheMax8783890
@TheMax8783890 - 18.12.2022 18:48

DEBUGGING FIREBASE ISSUE:
npm install [email protected]

Ответить
@PalastineGazaNews
@PalastineGazaNews - 04.12.2022 14:10

Hi am interested in react programming where do I start, i have no clue. What do you install too use react

Ответить
@Phas0ruk
@Phas0ruk - 03.11.2022 01:16

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

Ответить
@lamvutung2235
@lamvutung2235 - 24.10.2022 10:33

why i run npm run dev it delete file .env.local

Ответить
@lamvutung2235
@lamvutung2235 - 24.10.2022 10:21

why

Ответить
@lamvutung2235
@lamvutung2235 - 24.10.2022 09:48

please rep me

Ответить
@lamvutung2235
@lamvutung2235 - 24.10.2022 09:17

why cannot add .env.local

Ответить
@lamvutung2235
@lamvutung2235 - 23.10.2022 05:31

how to get icon facebook in this video

Ответить
@amansengar3335
@amansengar3335 - 19.10.2022 11:41

MY firebase storage is giving error i.e. storage is not a function

Ответить
@derealratos6332
@derealratos6332 - 19.10.2022 01:15

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<{ session: Session }>) {
//const status=getSession()
return
<SessionProvider session={session} >
<Component {...pageProps} />
</SessionProvider>

}

export default MyApp


extras
onClick={()=>signIn()}


Facebook component
import { Session } from 'next-auth'
session:Session as loginprops

Ответить
@AmanSharma-bf9yx
@AmanSharma-bf9yx - 02.10.2022 12:10

I'm facing an issue when uploading a post is not reflecting in firebase. can anyone help I did the same as it is in the video

Ответить
@chkashif3923
@chkashif3923 - 31.07.2022 22:41

Can we convert this into apk?

Ответить
@peaceandislam1
@peaceandislam1 - 30.07.2022 18:41

🔴

Ответить
@armandocumbane8221
@armandocumbane8221 - 27.07.2022 15:17

Hi Sonny. can you do a video of cloning a facebook and integrate it with with ecommence website within the Facebook App as in one App.

Ответить
@spinspin3523
@spinspin3523 - 25.07.2022 18:56

this guy is a legend

Ответить
@jihadhasansuhach8775
@jihadhasansuhach8775 - 17.07.2022 08:46

You are a great man

Ответить
@ThanHtutZaw3
@ThanHtutZaw3 - 09.07.2022 07:42

Why we need to use Next-Auth for auth system .Can we do auth without Next-Auth libaries?What is the key of using Next-Auth.
I feel like writing react app without knowing javascript

Ответить
@mdsaiful6294
@mdsaiful6294 - 04.06.2022 20:20

Nice video good video

Ответить
@obey_giant
@obey_giant - 27.05.2022 22:03

Where’s the share post part?

Ответить
@haidinurhadinata2661
@haidinurhadinata2661 - 19.05.2022 10:15

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

Ответить
@Business_101
@Business_101 - 15.05.2022 03:02

Hello - you are amazing! Are you based in London?

Ответить
@josephbuzzell8856
@josephbuzzell8856 - 10.05.2022 06:01

import NextAuth from "next-auth";
import Providers from "next-auth/providers";

export default NextAuth({
providers: [
Providers.Google({
clientId: process.env.GOOGLE_CLIENT_ID,
clientSecret: process.env.GOOGLE_CLIENT_SECRET,
}),
],
pages: {
signIn: "/signin",
},
});

using this as my validation
import { providers, signIn, getSession, csrfToken } from "next-auth/client";

function signin({ providers }) {
return (
<div>
{Object.values(providers).map((provider) => {
return (
<div key={provider.name}>
<button onClick={() => signIn(provider.id)}>
Sign in with {provider.name}
</button>
</div>
);
})}
</div>
);
}

export default signin;

export async function getServerSideProps(context) {
const { req } = context;
const session = await getSession({ req });

if (session) {
return {
redirect: { destination: "/" },
};
}

return {
props: {
providers: await providers(context),
csrfToken: await csrfToken(context),
},
};
}
this is my sign in

I am able to get it to the google login but it fails the validation with a client id error

Ответить
@josephbuzzell8856
@josephbuzzell8856 - 08.05.2022 19:51

good build but it won't accept authentication

Ответить
@SONIC__54
@SONIC__54 - 05.05.2022 12:22

Hi I have a question?

Ответить
@TheBoglodite
@TheBoglodite - 02.05.2022 19:25

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

Ответить
@stefanpfadt4353
@stefanpfadt4353 - 23.04.2022 18:21

Holy crappers! Is there a less difficult way to make this "create story" thing work - as a widget/plugin for newbies like myself? lol

Ответить
@000learningzone
@000learningzone - 22.04.2022 15:07

Can you speak in hindi

Ответить
@Professor_1
@Professor_1 - 20.04.2022 20:35

When it become responsive for mobile where that notification icon gone

Ответить
@professor733
@professor733 - 15.04.2022 00:19

it didn't work when I deployed it on vercel

Ответить