Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
One Graph  to rule them allIntegrating your application with
Cristian Planas                        CTO ofFollow 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)
Not so fast!
¿What is the Open     Graph?
Elements of the Open Graph
The User
Asking for permissions:    publish_actions
Merging with publish_streampublish_stream permits you to write in the user’s wall. Now publish_actions include “basic” cap...
The Object
Define the object with metatags              og:url             og:title          og:description            og:image      ...
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 & Backgro...
Meanwhile, in Ruby…
Surviving Facebook Review
Translating your action
¿Why the Open Graph?
Alternatives
ScoresPretty good choice in simple, “closed” games.
Achievements       Every achievement has points associated.  A game has 1000 points to distribute across all the          ...
Publishing in the wall
Things to remember    Open Graph is really simple to use.Just adapt your application to Facebook way                  of l...
Now it’s true.
One graph to rule them all - Facebook
One graph to rule them all - Facebook
One graph to rule them all - Facebook
One graph to rule them all - Facebook
One graph to rule them all - Facebook
Upcoming SlideShare
Loading in …5
×

One graph to rule them all - Facebook

7,548 views

Published on

See more information on http://itnig.net/en/events

  • Be the first to comment

One graph to rule them all - Facebook

  1. One Graph to rule them allIntegrating your application with
  2. Cristian Planas CTO ofFollow me on Twitter: @cristianplanas
  3. ¿How to publish actions in the Open Graph?
  4. 1. Get a wrapper gem install koala
  5. 2. Get access to the user’s graph graph = Koala::Facebook::API.new(user_token)
  6. 3. Publish your action!graph.put_connections("me", ”my action name", :my_object=> my_object_url)
  7. Not so fast!
  8. ¿What is the Open Graph?
  9. Elements of the Open Graph
  10. The User
  11. Asking for permissions: publish_actions
  12. Merging with publish_streampublish_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.
  13. The Object
  14. Define the object with metatags og:url og:title og:description og:image og:type
  15. Using the object URL as a landing
  16. A typical issue: caching Facebook caches the URL of the objects.Facebook Debugger cleans the cache. Use it!
  17. The Action
  18. The easy way: built-in Actions Follow Like Listen Read Watch
  19. Better create your own!
  20. Publishing your actions Client-side: Facebook Javascript SDK Server-side: Choose your wrapper!Server-side & Background: Sidekiq, Resque...
  21. Meanwhile, in Ruby…
  22. Surviving Facebook Review
  23. Translating your action
  24. ¿Why the Open Graph?
  25. Alternatives
  26. ScoresPretty good choice in simple, “closed” games.
  27. 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.
  28. Publishing in the wall
  29. Things to remember Open Graph is really simple to use.Just adapt your application to Facebook way of life. Greatly improves your visibility.
  30. Now it’s true.

×