SlideShare a Scribd company logo
One Graph
  to rule them all

Integrating your application with
Cristian Planas
                        CTO of




Follow me on Twitter: @cristianplanas
¿How to publish actions
  in the Open Graph?
1. Get a wrapper




 gem install koala
2. Get access to the user’s graph



 graph = Koala::Facebook::API.new(user_token)
3. Publish your action!



graph.put_connections("me", ”my action
  name", :my_object=> my_object_url)
One graph to rule them all - Facebook
Not so fast!
¿What is the Open
     Graph?
One graph to rule them all - Facebook
One graph to rule them all - Facebook
Elements of the Open Graph
The User
Asking for permissions:
    publish_actions
Merging with publish_stream


publish_stream permits you to write in the user’s wall.



 Now publish_actions include “basic” capabilities of
                 publish_stream.



 Facebook is trying to simplify its permission system.
The Object
Define the object with metatags


              og:url
             og:title
          og:description
            og:image
             og:type
Using the object URL as a landing
A typical issue: caching
 Facebook caches the URL of the objects.




Facebook Debugger cleans the cache. Use it!
The Action
The easy way: built-in Actions

            Follow
             Like
            Listen
            Read
            Watch
Better create your own!
Publishing your actions


    Client-side: Facebook Javascript SDK


     Server-side: Choose your wrapper!


Server-side & Background: Sidekiq, Resque...
Meanwhile, in Ruby…
Surviving Facebook Review
Translating your action
¿Why the Open Graph?
One graph to rule them all - Facebook
One graph to rule them all - Facebook
Alternatives
Scores




Pretty good choice in simple, “closed” games.
Achievements


       Every achievement has points associated.



  A game has 1000 points to distribute across all the
                   achievements.



The visibility of the achievement depends of the points.
Publishing in the wall
Things to remember

    Open Graph is really simple to use.


Just adapt your application to Facebook way
                  of life.


      Greatly improves your visibility.
Now it’s true.

More Related Content

Similar to One graph to rule them all - Facebook (20)

KEY
Facebook Open Graph
Alexa Burakoff
 
PDF
Facebook f8 seoul
DaeMyung Kang
 
PPTX
Getting started with Facebook OpenGraph API
Lynn Langit
 
PDF
Open Graph API And How To Use It : Facebook Developers Circle Meetup 2017
Aayush Shrestha
 
PPT
Facebook open graph explained
Saint Social
 
PPT
Facebook's future - The Open Graph
Saint Social
 
PPT
Introducing Facebook
University College Falmouth
 
PDF
How to implement open graphtags
Tommy Leung
 
PDF
Social Networks @ Epidata 6 24 08
blanconet
 
PDF
Facebook open graph
i4box Anon
 
PDF
Open Audience Manager Vidar Brekke Presentation - BDI 11/11/10 Social Commerc...
Business Development Institute
 
PPTX
Facebook Open Graph Protocol and Graph API (NoVA Code Camp 2010.1)
Chris Busse
 
ZIP
Facebook ( Open ) Graph and the Semantic Web
Matteo Brunati
 
ODP
Kt 15 07-2013
G Jayendra Kartheek
 
PPTX
REST API Graph API GraphQL GraphiQL Presentation
Atharva Jawalkar
 
PDF
Facebook App Dev101 (Tyler Ballance, Slide.com)
Dave McClure
 
PDF
Open Graph Protocol for Facebook
FlutterbyBarb
 
PDF
Tech Headline - Facebook Developer World Hack Sao Paulo 2012
Rodrigo Castilho
 
PDF
What the new Facebook means for Brands
Bramerz
 
PDF
Facebook Open Graph and the Future of Personalization
Rob Gonda
 
Facebook Open Graph
Alexa Burakoff
 
Facebook f8 seoul
DaeMyung Kang
 
Getting started with Facebook OpenGraph API
Lynn Langit
 
Open Graph API And How To Use It : Facebook Developers Circle Meetup 2017
Aayush Shrestha
 
Facebook open graph explained
Saint Social
 
Facebook's future - The Open Graph
Saint Social
 
Introducing Facebook
University College Falmouth
 
How to implement open graphtags
Tommy Leung
 
Social Networks @ Epidata 6 24 08
blanconet
 
Facebook open graph
i4box Anon
 
Open Audience Manager Vidar Brekke Presentation - BDI 11/11/10 Social Commerc...
Business Development Institute
 
Facebook Open Graph Protocol and Graph API (NoVA Code Camp 2010.1)
Chris Busse
 
Facebook ( Open ) Graph and the Semantic Web
Matteo Brunati
 
Kt 15 07-2013
G Jayendra Kartheek
 
REST API Graph API GraphQL GraphiQL Presentation
Atharva Jawalkar
 
Facebook App Dev101 (Tyler Ballance, Slide.com)
Dave McClure
 
Open Graph Protocol for Facebook
FlutterbyBarb
 
Tech Headline - Facebook Developer World Hack Sao Paulo 2012
Rodrigo Castilho
 
What the new Facebook means for Brands
Bramerz
 
Facebook Open Graph and the Future of Personalization
Rob Gonda
 

More from itnig (20)

PDF
Presentation of the project "Startups Made in Spain" · On Friday, January 9 a...
itnig
 
PDF
Web Scraping for Non Programmers
itnig
 
PDF
Hands-On Prototyping Without Code
itnig
 
PDF
Essentials Every Non-Technical Person Need To Know To Build The Best Tech-Tea...
itnig
 
PPTX
Die Another Day: Scaling from 0 to 4 million daily requests as a lone develop...
itnig
 
PDF
Data Tools cosystem_for_non_programmers
itnig
 
PDF
Futurology For Entrepreneurs: 7 Ways To Spot The Opportunities Of Tomorrow
itnig
 
PDF
Visualizing large datasets (BIG DATA itnig friday)
itnig
 
PDF
Make your own Open Source transition with CocoaPods
itnig
 
PDF
"El boom del Consumo Colaborativo" by Albert Cañigueral
itnig
 
PDF
Control Your Life - The Startup Way
itnig
 
PDF
Analítica Ágil - De la Sobrecarga a la Evidencia de los Datos
itnig
 
PPT
Ser público en internet lo es todo.
itnig
 
PPTX
Performance marketingonline enterategratis_
itnig
 
PPTX
SEO para ecommerce by Alfonso Moure
itnig
 
PPTX
Hablar en Público by Marion Chevalier
itnig
 
PDF
Collecting metrics with Graphite and StatsD
itnig
 
PPTX
La burbuja publicitaria
itnig
 
PPTX
Analisis de las empresas del Ibex35
itnig
 
PDF
QR-Codes 101 - Convirtiendo la tinta en bits
itnig
 
Presentation of the project "Startups Made in Spain" · On Friday, January 9 a...
itnig
 
Web Scraping for Non Programmers
itnig
 
Hands-On Prototyping Without Code
itnig
 
Essentials Every Non-Technical Person Need To Know To Build The Best Tech-Tea...
itnig
 
Die Another Day: Scaling from 0 to 4 million daily requests as a lone develop...
itnig
 
Data Tools cosystem_for_non_programmers
itnig
 
Futurology For Entrepreneurs: 7 Ways To Spot The Opportunities Of Tomorrow
itnig
 
Visualizing large datasets (BIG DATA itnig friday)
itnig
 
Make your own Open Source transition with CocoaPods
itnig
 
"El boom del Consumo Colaborativo" by Albert Cañigueral
itnig
 
Control Your Life - The Startup Way
itnig
 
Analítica Ágil - De la Sobrecarga a la Evidencia de los Datos
itnig
 
Ser público en internet lo es todo.
itnig
 
Performance marketingonline enterategratis_
itnig
 
SEO para ecommerce by Alfonso Moure
itnig
 
Hablar en Público by Marion Chevalier
itnig
 
Collecting metrics with Graphite and StatsD
itnig
 
La burbuja publicitaria
itnig
 
Analisis de las empresas del Ibex35
itnig
 
QR-Codes 101 - Convirtiendo la tinta en bits
itnig
 
Ad

One graph to rule them all - Facebook

Editor's Notes

  • #26: Grammar issues: you can play a game, but not play in an event