SlideShare une entreprise Scribd logo
1  sur  11
Télécharger pour lire hors ligne
The Timeline
Introduction
    Current Open Graph
     connecting with "Like" button


     Facebook pages
     websites
     ex: "Milan likes Coca Cola", "Milan likes a link"

    New Open Graph
     connect with what you want to and how you want to


     ex: "Milan read Slovak Government Down on BBC”
Website application
  Create an application
 Authenticate user



 Define action, object and aggregation
 Publish actions
 Submit actions for approval
Authenticate user
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
    FB.init({
         appId:'YOUR_APP_ID',
         cookie:true,
         status:true,
         xfbml:true,
         oauth:true
    });
</script>

<fb:add-to-timeline></fb:add-to-timeline>
Authenticate user
<div id="fb-root"></div>
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
    FB.init({
         appId:'YOUR_APP_ID',
         cookie:true,
         status:true,
         xfbml:true,
         oauth:true
    });
</script>

<fb:add-to-timeline></fb:add-to-timeline>
Define actions and objects
  action - describe what users do on the
  website by one verb



 object type - object involved in the action
Define an aggregation
                    Aggregates stories
                    actions on user's
                    timeline
                



                     data display (action)
                     layout style
                     sort by
                     title
                     caption lines
Publish actions
<head prefix="og: http://ogp.me/ns# APP_NAMESPACE:
    http://ogp.me/ns/apps/APP_NAMESPACE#">
    <meta property="fb:app_id" content="APP_ID" />
    <meta property="og:type" content="APP_NAMESPACE:recipe" />
    <meta property="og:title" content="Stuffed Cookies" />
    <meta property="og:image" content="http://example.com/cookie.jpg" />
    <meta property="og:description" content="The Turducken of Cookies" />
    <meta property="og:url" content="http://example.com/cookie.html" />

    <script type="text/javascript">
        function postCook()
        {
            FB.api('/me/APP_NAMESPACE:cook' +
                '?recipe=http://example.com/cookie.html','post',
            function(response) {
                if (!response || response.error) {
                    alert('Error occured');
                } else {
                    alert('Post was successful! Action ID: ' + response.id);
                }
            });
        }
    </script>
</head>
Publish actions
<head prefix="og: http://ogp.me/ns# APP_NAMESPACE:
    http://ogp.me/ns/apps/APP_NAMESPACE#">
    <meta property="fb:app_id" content="APP_ID" />
    <meta property="og:type" content="APP_NAMESPACE:recipe" />
    <meta property="og:title" content="Stuffed Cookies" />
    <meta property="og:image" content="http://example.com/cookie.jpg" />
    <meta property="og:description" content="The Turducken of Cookies" />
    <meta property="og:url" content="http://example.com/cookie.html" />

    <script type="text/javascript">
        function postCook()
        {
            FB.api('/me/APP_NAMESPACE:cook' +
                '?recipe=http://example.com/cookie.html','post',
            function(response) {
                if (!response || response.error) {
                    alert('Error occured');
                } else {
                    alert('Post was successful! Action ID: ' + response.id);
                }
            });
        }
    </script>
</head>
Demo



       http://blog.mist.sk
Milan STESKAL

@milansteskal      @facebookDevSk
facebook.com/groups/188066214578728/

Contenu connexe

En vedette

Compte rendu séance-2
Compte rendu séance-2Compte rendu séance-2
Compte rendu séance-2Julien Pastre
 
Slide Reunion d'Information d'Affaires
Slide Reunion d'Information d'Affaires  Slide Reunion d'Information d'Affaires
Slide Reunion d'Information d'Affaires oladis_biz
 
Copil certif 18 12 2014
Copil certif 18 12 2014Copil certif 18 12 2014
Copil certif 18 12 2014pquentin
 
Frise chronologique du Moyen Âge
Frise chronologique du Moyen ÂgeFrise chronologique du Moyen Âge
Frise chronologique du Moyen Âgexosea
 
Compte rendu Réunion
Compte rendu RéunionCompte rendu Réunion
Compte rendu RéunionElsa Za
 
Copil HAS v2014 30.10.2014
Copil HAS v2014 30.10.2014Copil HAS v2014 30.10.2014
Copil HAS v2014 30.10.2014pquentin
 
Jean piaget construirea realului la copil
Jean piaget   construirea realului la copilJean piaget   construirea realului la copil
Jean piaget construirea realului la copilcipyn73
 
Fondamentaux de la gestion de projet (cours 2)
Fondamentaux de la gestion de projet (cours 2)Fondamentaux de la gestion de projet (cours 2)
Fondamentaux de la gestion de projet (cours 2)Françoise Gouzi
 

En vedette (15)

Compte rendu séance-2
Compte rendu séance-2Compte rendu séance-2
Compte rendu séance-2
 
Slide Reunion d'Information d'Affaires
Slide Reunion d'Information d'Affaires  Slide Reunion d'Information d'Affaires
Slide Reunion d'Information d'Affaires
 
Copil certif 18 12 2014
Copil certif 18 12 2014Copil certif 18 12 2014
Copil certif 18 12 2014
 
QQOQCCP
QQOQCCPQQOQCCP
QQOQCCP
 
Frise chronologique du Moyen Âge
Frise chronologique du Moyen ÂgeFrise chronologique du Moyen Âge
Frise chronologique du Moyen Âge
 
Validation du projet professionnel
Validation du projet professionnelValidation du projet professionnel
Validation du projet professionnel
 
Compte rendu Réunion
Compte rendu RéunionCompte rendu Réunion
Compte rendu Réunion
 
Timeline examples
Timeline examplesTimeline examples
Timeline examples
 
Copil HAS v2014 30.10.2014
Copil HAS v2014 30.10.2014Copil HAS v2014 30.10.2014
Copil HAS v2014 30.10.2014
 
Timelines
TimelinesTimelines
Timelines
 
Conduite de projet innovants
Conduite de projet innovantsConduite de projet innovants
Conduite de projet innovants
 
La méthode qqoqcp
La méthode qqoqcpLa méthode qqoqcp
La méthode qqoqcp
 
Introduction gestion de projet
Introduction gestion de projetIntroduction gestion de projet
Introduction gestion de projet
 
Jean piaget construirea realului la copil
Jean piaget   construirea realului la copilJean piaget   construirea realului la copil
Jean piaget construirea realului la copil
 
Fondamentaux de la gestion de projet (cours 2)
Fondamentaux de la gestion de projet (cours 2)Fondamentaux de la gestion de projet (cours 2)
Fondamentaux de la gestion de projet (cours 2)
 

Plus de Milan Steskal

How to pitch on Startup Weekend
How to pitch on Startup WeekendHow to pitch on Startup Weekend
How to pitch on Startup WeekendMilan Steskal
 
StartupYard - From Idea to Funding, and Beyond
StartupYard - From Idea to Funding, and BeyondStartupYard - From Idea to Funding, and Beyond
StartupYard - From Idea to Funding, and BeyondMilan Steskal
 
Online marketing pre startupy
Online marketing pre startupyOnline marketing pre startupy
Online marketing pre startupyMilan Steskal
 
Tricks to grow your blog audience with facebook
Tricks to grow your blog audience with facebookTricks to grow your blog audience with facebook
Tricks to grow your blog audience with facebookMilan Steskal
 
My first facebook app
My first facebook appMy first facebook app
My first facebook appMilan Steskal
 

Plus de Milan Steskal (6)

How to pitch on Startup Weekend
How to pitch on Startup WeekendHow to pitch on Startup Weekend
How to pitch on Startup Weekend
 
StartupYard - From Idea to Funding, and Beyond
StartupYard - From Idea to Funding, and BeyondStartupYard - From Idea to Funding, and Beyond
StartupYard - From Idea to Funding, and Beyond
 
Online marketing pre startupy
Online marketing pre startupyOnline marketing pre startupy
Online marketing pre startupy
 
Tricks to grow your blog audience with facebook
Tricks to grow your blog audience with facebookTricks to grow your blog audience with facebook
Tricks to grow your blog audience with facebook
 
My first facebook app
My first facebook appMy first facebook app
My first facebook app
 
Graph api
Graph apiGraph api
Graph api
 

Dernier

React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 

Dernier (20)

React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 

The timeline

  • 2. Introduction Current Open Graph  connecting with "Like" button   Facebook pages  websites  ex: "Milan likes Coca Cola", "Milan likes a link" New Open Graph  connect with what you want to and how you want to   ex: "Milan read Slovak Government Down on BBC”
  • 3. Website application Create an application  Authenticate user   Define action, object and aggregation  Publish actions  Submit actions for approval
  • 4. Authenticate user <div id="fb-root"></div> <script src="http://connect.facebook.net/en_US/all.js"></script> <script> FB.init({ appId:'YOUR_APP_ID', cookie:true, status:true, xfbml:true, oauth:true }); </script> <fb:add-to-timeline></fb:add-to-timeline>
  • 5. Authenticate user <div id="fb-root"></div> <script src="http://connect.facebook.net/en_US/all.js"></script> <script> FB.init({ appId:'YOUR_APP_ID', cookie:true, status:true, xfbml:true, oauth:true }); </script> <fb:add-to-timeline></fb:add-to-timeline>
  • 6. Define actions and objects action - describe what users do on the website by one verb   object type - object involved in the action
  • 7. Define an aggregation Aggregates stories actions on user's timeline   data display (action)  layout style  sort by  title  caption lines
  • 8. Publish actions <head prefix="og: http://ogp.me/ns# APP_NAMESPACE: http://ogp.me/ns/apps/APP_NAMESPACE#"> <meta property="fb:app_id" content="APP_ID" /> <meta property="og:type" content="APP_NAMESPACE:recipe" /> <meta property="og:title" content="Stuffed Cookies" /> <meta property="og:image" content="http://example.com/cookie.jpg" /> <meta property="og:description" content="The Turducken of Cookies" /> <meta property="og:url" content="http://example.com/cookie.html" /> <script type="text/javascript"> function postCook() { FB.api('/me/APP_NAMESPACE:cook' + '?recipe=http://example.com/cookie.html','post', function(response) { if (!response || response.error) { alert('Error occured'); } else { alert('Post was successful! Action ID: ' + response.id); } }); } </script> </head>
  • 9. Publish actions <head prefix="og: http://ogp.me/ns# APP_NAMESPACE: http://ogp.me/ns/apps/APP_NAMESPACE#"> <meta property="fb:app_id" content="APP_ID" /> <meta property="og:type" content="APP_NAMESPACE:recipe" /> <meta property="og:title" content="Stuffed Cookies" /> <meta property="og:image" content="http://example.com/cookie.jpg" /> <meta property="og:description" content="The Turducken of Cookies" /> <meta property="og:url" content="http://example.com/cookie.html" /> <script type="text/javascript"> function postCook() { FB.api('/me/APP_NAMESPACE:cook' + '?recipe=http://example.com/cookie.html','post', function(response) { if (!response || response.error) { alert('Error occured'); } else { alert('Post was successful! Action ID: ' + response.id); } }); } </script> </head>
  • 10. Demo http://blog.mist.sk
  • 11. Milan STESKAL @milansteskal @facebookDevSk facebook.com/groups/188066214578728/