This example demonstrates how to implement a "login with Facebook" button, using a simple Ruby On Rails backend and the AuthSession module.
- Expo CLI & npm installed
- Ruby 2.7.2 installed
- This repo (for sure)
- Go to directory
backend/Auth-facebook-backend
- Bundle gem with
bundle
- Start server
rails s -p 3000
- Install with
yarn
ornpm install
- Run [
expo start
]
test-thinhbui311
├── App.js ➡️ FrontEnd App
└── backend ➡️ Backend API to request access tokens and user info from Facebook Graph API