Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Faceline is a small app for facebook timeline integration.
Ruby CoffeeScript JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
README.rdoc
Rakefile
config.ru

README.rdoc

Welcome to Faceline

Faceline is a small app for facebook timeline integration.

Getting Started

  1. Do: “bundle install” after getting inside the app directory.

  2. First, create the database:

    rake db:create
  3. Then create database tables:

    rake db:migrate
  4. Configure facebook application in faceline, edit this line in config/initializers/devise.rb at line 214:

    config.omniauth :facebook, '483966238475817', '2babc14ceb95cca27836jd7ffd1a3379', {:client_options => {:ssl => {:ca_path => "/etc/ssl/certs"}}, :scope => 'publish_actions, publish_stream,email'} ('483966238475817' = APP_ID, and '2babc14ceb95cca27836jd7ffd1a3379' = APP_SECRET)
  5. Create a facebook app:

    https://developers.facebook.com/apps
    Add opendraph's actions: "Pin", and "Start"
    Affilicate Objects to actions: "Pin" to "Picture", and "Start" to "Faceline"
    Change :faceline => "URL" from the Get Code option on for "Start" facebook in method: started_faceline of User model
    Change :picture => "URL" from the Get Code option for "Pin" on facebook in method: pin_picture of User model
    Also, update the "namespace:action" in both the methods, i.e.: start_faceline, and pin_picture
  6. Start the server:

    rails s
  7. Go to localhost:3000/

Something went wrong with that request. Please try again.