Code Monkey home page Code Monkey logo

fb_social_search's Introduction

Ram's FB Graph Search Demo

A POC replicating Facebook Graph Search

Pre-Requisites

  • You will need to get a Facebook Consumer Key and Secret on https://developers.facebook.com/apps
  • Select the "user_likes", "user_location", "friends_likes", "friends_location" permissions.
  • Under "Select how your app integrates with Facebook" click "Website with Facebook Login" and fill in "http://localhost:5000/"
  • You will need Neo4j in order for your database.
  • You will need Redis in order to use Sidekiq for background jobs.

Installation

git clone https://github.com/rrengamani/fb_social_search.git
bundle install (run gem install bundler if you don't have bundler installed)
ruby -e "$(curl -fksSL https://raw.github.com/mxcl/homebrew/go)"
brew install redis
brew install neo4j
neo4j:start
export SESSION_SECRET=<your session secret> (anything will do, or skip it)
export FACEBOOK_APP_ID=<your facebook app id>
export FACEBOOK_SECRET=<your facebook app secret>
export REDISTOGO_URL="redis://127.0.0.1:6379/"
redis-server

On Heroku

git clone [email protected]:rrengamani/fb_social_search.git
heroku apps:create neosocial
heroku config:add FACEBOOK_APP_ID=<your facebook app id>
heroku config:add FACEBOOK_SECRET=<your facebook secret>
heroku config:add SESSION_SECRET=<your session secret>
heroku addons:add neo4j
heroku addons:add redistogo
git push heroku master
heroku ps:scale worker=1
heroku run rake neo4j:create

See it running live at http://fast-ridge-4288.herokuapp.com/

fb_social_search's People

Contributors

rrengamani avatar

Watchers

 avatar

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.