Skip to content

thomasgallagher/facebook-places-api-examples-in-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

PLEASE NOTE:
This was sample code made for a live demonstration, if you're looking for something to use in a production app then check out Koala:
https://github.com/arsduo/koala

Playing with the Facebook Places API in Ruby
============================================

Methods:
  checkins         - Get your checkins.
  checkin          - Get a checkin.
  friends_checkins - Get a friends checkins.
  check_in         - Check in to a Place.
  search_nearby    - Search nearby

How to use:
1.) Sign in to an application that you own with following extended permissions: user_checkins, friends_checkins, publish_checkins, offline_access
2.) View your cookies to find your access_token and copy it into the ACCESS_TOKEN constant at the top of edit_then_run_me.rb
3.) Uncomment the example that you wish to run, add any require parameters and run edit_then_run_me.rb

All results are returned to the console in pretty JSON.

NOTE: You may want to make the HTTP connections transactional and add some error checking before using these methods in a production application.

About

Playing with the Facebook Places API in Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages