Skip to content

Instantly share code, notes, and snippets.

@shernade
shernade / facebook.rb
Created November 16, 2016 12:35 — forked from a14m/facebook.rb
Gist for manually OAuth2 facebook for Rails APIs
# lib/omniauth/facebook.rb
require 'httparty'
module Omniauth
class Facebook
include HTTParty
# The base uri for facebook graph API
base_uri 'https://graph.facebook.com/v2.3'