Giter Club home page Giter Club logo

facebook-places-api-examples-in-ruby's Introduction

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.

facebook-places-api-examples-in-ruby's People

Stargazers

Brian Kenny avatar rnsk avatar  avatar John Rodriguez avatar Todd Chaffee avatar J*Bergantine avatar Thiyagarajan Veluchamy avatar Tom Gallagher avatar

Watchers

Tom Gallagher avatar James Cloos avatar

Forkers

thiyagarajan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.