Sha256: 790014118eaa38ebdf8037dfe7291c1fbaf1f8a182778922bc8f4c8b012892bf

Contents?: true

Size: 296 Bytes

Versions: 17

Compression:

Stored size: 296 Bytes

Contents

require 'rest-core/client/rest-graph'

p RestGraph.new.get('4') # get user info

facebook = RestGraph.new(:app_id => '...', :secret => '...')
facebook.authorize_url # copy and paste the URL in browser to authorize
facebook.authorize!(:redirect_uri => '...', :code => '...')
p facebook.get('me')

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rest-core-0.8.2 example/facebook.rb
rest-core-0.8.1 example/facebook.rb
rest-core-0.8.0 example/facebook.rb
rest-core-0.7.2 example/facebook.rb
rest-core-0.7.0 example/facebook.rb
rest-core-0.4.0 example/facebook.rb
rest-core-0.4.0.pre.2 example/facebook.rb
rest-core-0.4.0.pre.1 example/facebook.rb
rest-core-0.4.0.pre.0 example/facebook.rb
rest-core-0.3.0 example/facebook.rb
rest-core-0.3.0.pre.2 example/facebook.rb
rest-core-0.3.0.pre.1 example/facebook.rb
rest-core-0.3.0.pre.0 example/facebook.rb
rest-core-0.2.3 example/facebook.rb
rest-core-0.2.2 example/facebook.rb
rest-core-0.2.1 example/facebook.rb
rest-core-0.2.0 example/facebook.rb