Skip to content

This example demonstrates how to implement a "login with Facebook" button, using a simple Ruby On Rails backend and the AuthSession module.

Notifications You must be signed in to change notification settings

thinhbui311/OAuth_Facebook_Expo_Rails

Repository files navigation

Oauth Facebook Sample app with Expo & Ruby On Rails

This example demonstrates how to implement a "login with Facebook" button, using a simple Ruby On Rails backend and the AuthSession module.

🚀 Require

  • Expo CLI & npm installed
  • Ruby 2.7.2 installed
  • This repo (for sure)

Prepare the backend

  • Go to directory backend/Auth-facebook-backend
  • Bundle gem with bundle
  • Start server rails s -p 3000

Set up the frontend app

  • Install with yarn or npm install
  • Run [expo start]

📁 File Structure

test-thinhbui311
├── App.js ➡️ FrontEnd App
└── backend ➡️ Backend API to request access tokens and user info from Facebook Graph API

Video sample run app

About

This example demonstrates how to implement a "login with Facebook" button, using a simple Ruby On Rails backend and the AuthSession module.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published