How do I integrate social media login into my website?
You can add an App image and configure the permissions required. After this go to the credentials tab of your app and click Create credentials, for Google OAuth Client ID. Set up the hosting link for your app (you can put it as localhost:3000 also if you are not yet hosting it).
How to login with Facebook in JavaScript?
Facebook Login with JavaScript
FB. getLoginStatus() – Check whether the user already logged in. fbLogin() – Open a login dialog to login with Facebook account credentials. getFbUserData() – Fetch the user's account data from Facebook and display profile info and login status to the user.