SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Open Graph 2.0
from posts to life steam

Dev. Moh S Shurrab
Open Graph Protocol




This presentation was made specially For this GTUG Event @2011
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Demos




This presentation was made specially For this GTUG Event @2011
Statistics




This presentation was made specially For this GTUG Event @2011
Open Graph Protocol 2.0

Weitere ähnliche Inhalte

Ähnlich wie Open Graph Protocol 2.0

How and Why you can and should Participate in Open Source Projects (AMIS, Sof...
How and Why you can and should Participate in Open Source Projects (AMIS, Sof...How and Why you can and should Participate in Open Source Projects (AMIS, Sof...
How and Why you can and should Participate in Open Source Projects (AMIS, Sof...
Lucas Jellema
 
OpenNTF Webinar, May 19, 2020
OpenNTF Webinar, May 19, 2020OpenNTF Webinar, May 19, 2020
OpenNTF Webinar, May 19, 2020
Howard Greenberg
 
2011 code camp
2011 code camp2011 code camp
2011 code camp
imranq2
 
Google Earth Enterprise as an Open Source Project
Google Earth Enterprise as an Open Source ProjectGoogle Earth Enterprise as an Open Source Project
Google Earth Enterprise as an Open Source Project
Andres Terrazas
 
Jitesh Agrawal plone
Jitesh Agrawal ploneJitesh Agrawal plone
Jitesh Agrawal plone
Jitesh Agrawal
 

Ähnlich wie Open Graph Protocol 2.0 (20)

How and Why you can and should Participate in Open Source Projects (AMIS, Sof...
How and Why you can and should Participate in Open Source Projects (AMIS, Sof...How and Why you can and should Participate in Open Source Projects (AMIS, Sof...
How and Why you can and should Participate in Open Source Projects (AMIS, Sof...
 
Gwt, die bessere spinne
Gwt, die bessere spinneGwt, die bessere spinne
Gwt, die bessere spinne
 
Fork me!
Fork me!Fork me!
Fork me!
 
04 IPT Installation Webinar - Tool Customization
04 IPT Installation Webinar - Tool Customization04 IPT Installation Webinar - Tool Customization
04 IPT Installation Webinar - Tool Customization
 
Volto: A Journey towards Personalization
Volto: A Journey towards PersonalizationVolto: A Journey towards Personalization
Volto: A Journey towards Personalization
 
OpenNTF Webinar, May 19, 2020
OpenNTF Webinar, May 19, 2020OpenNTF Webinar, May 19, 2020
OpenNTF Webinar, May 19, 2020
 
PloneSocial Roadmap PLOG2013
PloneSocial Roadmap PLOG2013PloneSocial Roadmap PLOG2013
PloneSocial Roadmap PLOG2013
 
Mozilla's Boot to Gecko (B2G)
Mozilla's Boot to Gecko (B2G)Mozilla's Boot to Gecko (B2G)
Mozilla's Boot to Gecko (B2G)
 
Resume
ResumeResume
Resume
 
如何透過 Golang 與 Heroku 來一鍵部署 臉書機器人與 Line Bot
如何透過 Golang 與 Heroku 來一鍵部署 臉書機器人與 Line Bot如何透過 Golang 與 Heroku 來一鍵部署 臉書機器人與 Line Bot
如何透過 Golang 與 Heroku 來一鍵部署 臉書機器人與 Line Bot
 
2011 code camp
2011 code camp2011 code camp
2011 code camp
 
Google Earth Enterprise as an Open Source Project
Google Earth Enterprise as an Open Source ProjectGoogle Earth Enterprise as an Open Source Project
Google Earth Enterprise as an Open Source Project
 
Tips and Tricks lightning talk @ rego.act
Tips and Tricks lightning talk @ rego.actTips and Tricks lightning talk @ rego.act
Tips and Tricks lightning talk @ rego.act
 
Cross Platform HTML5 Mobile Development and the Firefox OS
Cross Platform HTML5 Mobile Development and the Firefox OSCross Platform HTML5 Mobile Development and the Firefox OS
Cross Platform HTML5 Mobile Development and the Firefox OS
 
Git Going w/ Git
Git Going w/ GitGit Going w/ Git
Git Going w/ Git
 
Open Source Junction: Apache Wookie and W3C Widgets
Open Source Junction: Apache Wookie and W3C WidgetsOpen Source Junction: Apache Wookie and W3C Widgets
Open Source Junction: Apache Wookie and W3C Widgets
 
GitLab 8.5 Highlights and Step-by-step tutorial
GitLab 8.5 Highlights and Step-by-step tutorialGitLab 8.5 Highlights and Step-by-step tutorial
GitLab 8.5 Highlights and Step-by-step tutorial
 
GitLab 8.5 Highlights and Step-by-step tutorial
GitLab 8.5 Highlights and Step-by-step tutorialGitLab 8.5 Highlights and Step-by-step tutorial
GitLab 8.5 Highlights and Step-by-step tutorial
 
Syncing with-upstream
Syncing with-upstreamSyncing with-upstream
Syncing with-upstream
 
Jitesh Agrawal plone
Jitesh Agrawal ploneJitesh Agrawal plone
Jitesh Agrawal plone
 

KĂźrzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

KĂźrzlich hochgeladen (20)

AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

Open Graph Protocol 2.0

  • 1. Open Graph 2.0 from posts to life steam Dev. Moh S Shurrab
  • 2. Open Graph Protocol This presentation was made specially For this GTUG Event @2011
  • 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
  • 22. Demos This presentation was made specially For this GTUG Event @2011
  • 23. Statistics This presentation was made specially For this GTUG Event @2011