Sha256: ce69e12c0007845536773344c1643d0760f20dcc819cbdae3f8df40e3aed249c
Contents?: true
Size: 304 Bytes
Versions: 13
Compression:
Stored size: 304 Bytes
Contents
require 'sinatra' require 'rest-core' app_id = '123' secret = 'abc' config = {:app_id => app_id, :secret => secret} post '/' do fb = RC::Facebook.new(config) fb.parse_signed_request!(params['signed_request']) "#{fb.get('me').inspect.gsub('<', '<')}\n" end run Sinatra::Application
Version data entries
13 entries across 13 versions & 1 rubygems