Project developed with the purpose of teaching how to connect with the Facebook API to get user data and show it on the screen.
- HTML
- CSS
- JavaScript
- Node.js
- Express
- Nunjucks
- Express
- Nodemon
- Nunjucks
- Create a Facebook Developer Account
- Add "https://localhost:3000/" to the Site URL
- In the basic settings:
- Change the AppID to your account's
- By default, the account gives access to the user's email, name and photo. If you want more permissions, just click on "App Review" and add.
- Clone this repository
git clone https://github.com/RuthMaria/facebook-login.git
- Install all the dependencies indicated in the package.json
npm install
- Run the project
npm start
- Type the URL in the browser
https://localhost:3000
- Fork this repository,
- Create a branch with your feature:
git checkout -b my-feature
- Commit your changes:
git commit -m 'feat: My new feature'
- Push your branch:
git push origin my-feature
This project is under the MIT license. See the file LICENSE for more details.