3. Agenda
⢠Some talk
â and joke
⢠Talk again
â and again
â and again
⢠Some code
⢠May be
â Open Graph Protocol v2.0
This presentation was made specially For this GTUG Event @2011
4. Open Graph Protocol
⢠Convert the web from a hyperlinks related
Document, to related Objects
⢠Make it a part of the Social Graph
⢠Depend on the social connection nested of the
links and page ranks
This presentation was made specially For this GTUG Event @2011
5. Open Graph Protocol V1
⢠Dealing with external pages
⢠Before (the Link post phase):
Message
title
Image Description
Facebook try to fetch this data from your head and body!
This presentation was made specially For this GTUG Event @2011
6. Open Graph Protocol V1
⢠After (the Page object phase):
â Adding some metadata, then Facebook deals with
your objects nested of pages!
Facebook try to fetch the object data from the OG
metadata, else return back to the Link phase ď
This presentation was made specially For this GTUG Event @2011
7. Open Graph Protocol V1
⢠What we just see, is the â semantic web â
⢠Facebook decide to use the meta data to
â keep it simple to add and modify
â fast to fetch and parse
⢠It is an Open Source protocol under the Open
Web Foundation Agreement
⢠Java, RDF, PHP, Python, and Ruby Parsers, and
WordPress plug-in are already developed
This presentation was made specially For this GTUG Event @2011
8. The differences ?
⢠Before:
â If you have 850 million like in your external page,
you can do nothing rather than other page have!
⢠After:
â Facebook create an admin FB Page for each
external page that use Open Graph Protocol.
This presentation was made specially For this GTUG Event @2011
9. The differences ?
⢠Where it appear?
â Facebooker profiles
⢠Wall
⢠Info
â Search bar
â Home feed
â Simply, any place a regular FB page can appear!
This presentation was made specially For this GTUG Event @2011
10. The differences ?
⢠Then, if pressed?
â Finally your external page back to life again,
users will be directed to your external page.
â If you are the admin, you can enter the admin FB
page and do some RELATED POST ⌠or just SPAM!
â If your users forget you, your new post can get
some of them back again.
â But, will you update a 1000 FB page every time
your websites is updated?
This presentation was made specially For this GTUG Event @2011
11. The differences ?
⢠Build your robot ;)
â Get your Facebook twins pages.
â Whenever your site updated, use
Facebook Graph API to update the
top 10 related page automatically.
â Donât be a stupid spammer,
because you will loose your site
(perhaps yourself) if Facebook
blocked your domain.
This presentation was made specially For this GTUG Event @2011
12. Summary
Add some Build your
metadata to Robot to
your page update them
Facebook
generates
Admin pages
This presentation was made specially For this GTUG Event @2011
13. Open Graph Protocol V2
⢠Do you remember the profile tabs system?
You can add
any Apps tab
to your profile
After the bad end of Hi5, Facebook decide to learn
the lessons and limit the profile customization,
and offset by a Strong APIs and Plug-ins
This presentation was made specially For this GTUG Event @2011
14. Open Graph Protocol V2
⢠What is the next generation of social network?
â Geo networks & Life stream
⢠How many active timeline we already have?
This presentation was made specially For this GTUG Event @2011
15. Open Graph Protocol V2
⢠Motivation
â OGP v1 came with limited object types
⢠35 types
â OGP v1 came with 1 verb only!!!
⢠Like
⢠OGP v2 give you the ability to create
â Verbs
â Objects
â Aggregators
This presentation was made specially For this GTUG Event @2011
16. Open Graph Protocol V2
⢠You verb a/an object via/at/in/on/using/with
application
⢠verb can be past or present
⢠object is any thing around you in Facebook,
Facebook Apps, Websites, Real life!!!
⢠application is the App, Website, Mobile, TV, or
anything else, you authorize to publish actions
This presentation was made specially For this GTUG Event @2011
17. Open Graph Protocol V2
⢠Whatâs new?
â Facebooker profiles
⢠Wall Timeline, Special Timeline, & Special post types
⢠Info
â Search bar
â Home feed, Ticker
â Simply, any place a regular FB page/post/action
can appear!
This presentation was made specially For this GTUG Event @2011
18. Open Graph Protocol V2
⢠Whatâs new (cont)?
â The most important change is that: The actions
will trigger using simple POST HTTP request
â Witch mean?
â You can customize the button as you want.
â Users can allow the application a publish actions
instead of them.
â FB Like button is not customizable, and have no
server side triggering
This presentation was made specially For this GTUG Event @2011
19. Open Graph Protocol V2
⢠Build-in Types
â Simple: Boolean, DateTime, Enum, Float, Integer,
String, URL
â Complex: Audio, ContactInfo, GeoPoint, Image,
Video
⢠Build-in Action:
â read, watch, like
This presentation was made specially For this GTUG Event @2011
20. Open Graph Protocol V2
⢠Build-in Objects
â Article, Blog, Book, External Profile, Movie, TV
Episode, TV Show, Video, Website
⢠Action properties VS object properties
â Action properties are unique to each instance.
â object properties are static and non-user specific.
⢠You can use your object as a type in another
object (aggregator)!
This presentation was made specially For this GTUG Event @2011
21. Open Graph Protocol V2
⢠Aggregations and Reports
â Manage how actions will appear
in your Apps users timeline and
special timeline
This presentation was made specially For this GTUG Event @2011