SlideShare ist ein Scribd-Unternehmen logo
1 von 11
Downloaden Sie, um offline zu lesen
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/

Weitere ähnliche Inhalte

Andere mochten auch

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
 

Andere mochten auch (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)
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
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
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 

Kürzlich hochgeladen (20)

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
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
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 

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/