SlideShare a Scribd company logo
Hope you                    this!
Facebook Social Plugins and OpenGraph API
A Little Background
•  We	
  have	
  apps!	
  




                                   2
A Little Background
•  We	
  do	
  plug-­‐ins	
  




                                      3
A Little Background
•  Been	
  using	
  the	
  FB	
  Pla6orm	
  extensively	
  for	
  over	
  2	
  yrs	
  
•  Personalize	
  user	
  generated	
  content	
  on	
  the	
  Web	
  




                                                                                         4
Using the FB Platform
•  SocialPlugins	
  
•  AuthenBcaBon	
  
•  Open	
  Graph	
  API	
  




                                   5
Social Plugins
•  Easily	
  deployable	
  widgets	
  that	
  bring	
  FB	
  into	
  your	
  
   site	
  
    –  Like	
  BuJon	
  
    –  Send	
  BuJon	
  
    –  Comments	
  
    –  AcBvity	
  Feed	
  
    –  RecommendaBons	
  
    –  Like	
  Box	
  
    –  Facepile	
  
    –  Live	
  Stream	
  


                                                                                6
The Like Button
•  65	
  million	
  Likes	
  occur	
  daily!	
  
•  Two	
  ways	
  to	
  implement	
  
    –  Simple	
  iFrame	
  
    –  JS	
  Based	
  
•  Always	
  use	
  the	
  JS	
  based	
  version	
  
•  Always	
  use	
  an	
  App	
  ID	
  
•  Always	
  implement	
  OG	
  tags!	
  




                                                        7
What can you do with a                                                           ?
A	
  website	
  does	
  get:	
  
•  The	
  ability	
  to	
  post	
  messages	
  to	
  the	
  news	
  feed	
  of	
  users	
  
     who	
  Like	
  an	
  item	
  (via	
  web-­‐interface	
  and	
  API)	
  




i.e. can think of a Like as a mini RSS-subscribe button
What can you do with a                                         ?
A	
  website	
  does	
  get:	
  
•  Access	
  to	
  analyBcs	
  informaBon	
  regarding	
  Likes	
  of	
  
     an	
  item	
  (via	
  a	
  web-­‐interface	
  and	
  API)	
  
What can you do with a                                                    ?
The	
  Insights	
  API	
  allows	
  you	
  to	
  specify	
  a	
  date	
  range,	
  
and	
  request	
  a	
  number	
  of	
  aggregate	
  metrics	
  
including:	
  
	
  
•  Likes	
  /	
  Unlikes	
  
•  Likes	
  with	
  a	
  Comment	
  
•  Re-­‐sharing	
  of	
  Likes	
  by	
  Friends	
  
•  Top	
  CiBes,	
  Top	
  Countries	
  of	
  visitors	
  who	
  Like	
  
•  Gender,	
  Age	
  breakdown	
  of	
  visitors	
  who	
  Like	
  
	
  
What can you do with a                                                          ?
Note:	
  	
  Some	
  items	
  that	
  can	
  be	
  Liked	
  (e.g.	
  Ar,cles,	
  Videos)	
  
are	
  classified	
  as	
  Transient	
  Content	
  by	
  Facebook	
  
	
  
                <meta property="og:type"
	
  
                       content=”article" />
	
  
Transient	
  Content:	
  
•  Does	
  not	
  show	
  up	
  in	
  lists	
  of	
  users’	
  Likes	
  in	
  the	
  API	
  
•  Does	
  not	
  show	
  up	
  in	
  the	
  users’	
  profile	
  
•  Does	
  not	
  allow	
  the	
  owner	
  to	
  post	
  anything	
  to	
  the	
  users	
  
     who	
  liked	
  the	
  item	
  
Access to information
How	
  can	
  we	
  get	
  detailed	
  visitor	
  Facebook	
  informaBon?	
  
Ask:	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  



	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  
FB Authentication
•  Great/FricBonless	
  way	
  to	
  get	
  users	
  to	
  sign	
  in	
  
•  Two	
  opBons:	
  
    –  FB	
  Login	
  
    –  FB	
  RegistraBon	
  




                                                                            13
Access to information
You	
  have	
  to	
  be	
  explicit	
  with	
  the	
  extended	
  
permissions	
  you	
  request	
  from	
  a	
  user:	
  
	
        •  About Me                  •  Location
          •  Activities                •  Messages
	
        •  Birthday                  •  Notes
            •    Checkins            •    Online Status
            •    Education           •    Photos
            •    Email Address       •    Photo Tags
            •    Events              •    Relationships
            •    Groups              •    Relationship Status
            •    Hometown            •    Last Status
            •    Interests           •    Videos
            •    LikesAccess to
                 information
The more you ask for, the more likely they are to bounce
OK… so we’re Authenticated?
•  Now	
  what?	
  
•  Can	
  use	
  the	
  JS	
  SDK	
  to	
  detect	
  login	
  
•  Use	
  the	
  JS	
  SDK	
  to	
  discover	
  some	
  interesBng	
  things	
  




                                                                             15
Meanwhile, back on the server…
•  Using	
  the	
  various	
  SDKs	
  we	
  can	
  make	
  similar	
  calls	
  




                                                                              16
Some statistical analysis…
In	
  Oct	
  2010	
  we	
  created	
  a	
  Content	
  TargeBng	
  app	
  and	
  
asked	
  employees	
  to	
  give	
  the	
  app	
  full	
  data	
  access.	
  
	
  
	
  
	
  
	
  
	
  
•  75	
  Employees	
  granted	
  access	
  
•  Employees	
  +	
  Friends	
  =	
  ~24,000	
  profiles	
  to	
  analyze	
  
   (that	
  was	
  an	
  average	
  of	
  320	
  friends	
  /	
  employee)	
  
•  ~1	
  million	
  Likes,	
  spread	
  across	
  290,000	
  different	
  
   items	
  
How many things do
                      people       ?
The	
  average	
  number	
  of	
  likes	
  is	
  35,	
  but	
  the	
  median	
  is	
  11	
  

» ¼ of visitors don’t have any
  Facebok Likes
» ½ of visitors have 10 or less
» only ¼ of visitors have more
  than 35


Individually, this is not a lot of information yet, but it’s
growing.
What do people   ?
What do people                                                        ?
 At the median, we would expect a visitor to like:

  –  2	
  ArBsts,	
  Albums,	
  or	
  Songs	
            –  1	
  Product	
  
  –  2	
  Movies,	
  TV	
  Shows	
  or	
                 –  1	
  Restaurant	
  
     Actors	
                                            –  1	
  Team	
  or	
  Athlete	
  
  –  1	
  Local	
  Business	
                            –  1	
  Book	
  
  –  1	
  Website	
                                      –  1	
  School	
  
  –  1	
  Public	
  Figure	
  
                                                  	
  
In reality the likes are not uniformly distributed across
the categories. Some users like mostly music, others
are more varied.
What do people                                ?
From people with 11 likes, here is one at random: Mr A
Cafe	
  Java	
  (AusBn)	
               Restaurants	
  
Carnival	
  Cruise	
  Lines	
           Airlines_ships_train	
  
Duvel	
                                 Food_beverage	
  
Full-­‐on	
  Psytrance	
                Musicians	
  
Italo	
  Disco	
                        Musical	
  genre	
  
Jokes	
                                 Interest	
  
Michael	
  Bolton	
                     Musicians	
  
Psyradio	
                              Websites	
  
Texas	
  Hold'em	
  Poker	
             Games	
  
The	
  Fantasy	
  Poker	
  League	
     Local_business	
  
Trading	
                               Interest	
  
What do people                                                           ?
From people with 11 likes, here is one at random: Mrs B
91%	
  of	
  people	
  don't	
  know	
  the	
  6	
  secrets	
  
Disney	
  is	
  hiding	
  from	
  people	
                        Movie	
  
CNET	
                                                            CommunicaBons	
  
CRUNCH	
                                                          Health_beauty	
  
Friday	
  Night	
  Lights	
                                       Television	
  
Hulu	
                                                            Local_business	
  
I	
  Heart	
  Photography	
                                       Local_professional_services	
  
JRS	
  and	
  THE	
  EFFIN'	
  BAND	
                             Musicians	
  
Kohl's	
                                                          Retail	
  
The	
  LXD	
                                                      Products_other	
  
The	
  Office	
                                                     Television	
  
The	
  Office	
                                                     Television	
  
The End

More Related Content

PDF
The future of search
PDF
Technical SEO Factors
PDF
Search Engine Optimization Fundamentals
PPTX
활동가를 위한 소셜미디어 학교(1)
PPT
Valentour Project PTS
PPT
C N Cϵͳṹ Ʒ
PPT
Management
PPT
Steal What Works
The future of search
Technical SEO Factors
Search Engine Optimization Fundamentals
활동가를 위한 소셜미디어 학교(1)
Valentour Project PTS
C N Cϵͳṹ Ʒ
Management
Steal What Works

Viewers also liked (13)

PPT
비영리단체교육콘텐츠활용방안
PPT
Bentley Systems Environment 1
PPTX
Flipped classroom for the isw
PPT
The Road
PDF
Giving And Taking In B2B Marketing
PPTX
Niger Presentation
PPT
Effective Use Of Forums
PPT
London Eye
PDF
소셜미디어학교(2) 미디어의변화_ 인터넷의변화_시민운동의변화
PPT
Mobile und spielebasierte Ansätze für Lerntransfer von kritischen Entscheidun...
PPT
ETICA Y DEONTOLOGÍA EN LA INVESTIGACIÓN CIENTÍFICA
PPS
Teaching Business English
PPS
Self Esteem
비영리단체교육콘텐츠활용방안
Bentley Systems Environment 1
Flipped classroom for the isw
The Road
Giving And Taking In B2B Marketing
Niger Presentation
Effective Use Of Forums
London Eye
소셜미디어학교(2) 미디어의변화_ 인터넷의변화_시민운동의변화
Mobile und spielebasierte Ansätze für Lerntransfer von kritischen Entscheidun...
ETICA Y DEONTOLOGÍA EN LA INVESTIGACIÓN CIENTÍFICA
Teaching Business English
Self Esteem
Ad

Similar to Facebook Social Plugins and OpenGraph API - Jon Loyens at Refresh Austin (20)

PDF
Facebook for charities
PPTX
How Facebook is Taking Over the Web ... One Like Button at a Time
PDF
Digital Trends That Are Changing Everything - revised
PPTX
Understanding Facebook's Open Graph
PDF
Facebook Lessons 2011
PDF
Facebook lessons 2011
PDF
2010.07 Mark Cowan - Building Your Brand Through Facebook
PDF
The Social Media Cookbook
PDF
B!digital & facebook februari 2011
PDF
Best Practices on Facebook
PPTX
Socialmedia seminar-sampling
PDF
Facebook open graph Workshop - marketing movie content more effectively to yo...
PPTX
Introduction to facebook sdk
PDF
Facebook integration w notes
ODP
Facebookjoomla final
PPTX
New and Not So New Social Media Channels
KEY
Claire O'Connell - Facebook
PDF
Understanding the potential of the Facebook Open Graph and Graph API
PPT
03. Facebook
PDF
Facebook: It's more than Social Media at SMWF
Facebook for charities
How Facebook is Taking Over the Web ... One Like Button at a Time
Digital Trends That Are Changing Everything - revised
Understanding Facebook's Open Graph
Facebook Lessons 2011
Facebook lessons 2011
2010.07 Mark Cowan - Building Your Brand Through Facebook
The Social Media Cookbook
B!digital & facebook februari 2011
Best Practices on Facebook
Socialmedia seminar-sampling
Facebook open graph Workshop - marketing movie content more effectively to yo...
Introduction to facebook sdk
Facebook integration w notes
Facebookjoomla final
New and Not So New Social Media Channels
Claire O'Connell - Facebook
Understanding the potential of the Facebook Open Graph and Graph API
03. Facebook
Facebook: It's more than Social Media at SMWF
Ad

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Cloud computing and distributed systems.
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Machine Learning_overview_presentation.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Electronic commerce courselecture one. Pdf
Machine learning based COVID-19 study performance prediction
A comparative analysis of optical character recognition models for extracting...
Empathic Computing: Creating Shared Understanding
Mobile App Security Testing_ A Comprehensive Guide.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Chapter 3 Spatial Domain Image Processing.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Cloud computing and distributed systems.
Spectral efficient network and resource selection model in 5G networks
MYSQL Presentation for SQL database connectivity
Review of recent advances in non-invasive hemoglobin estimation
The Rise and Fall of 3GPP – Time for a Sabbatical?
Machine Learning_overview_presentation.pptx
sap open course for s4hana steps from ECC to s4
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Electronic commerce courselecture one. Pdf

Facebook Social Plugins and OpenGraph API - Jon Loyens at Refresh Austin

  • 1. Hope you this! Facebook Social Plugins and OpenGraph API
  • 2. A Little Background •  We  have  apps!   2
  • 3. A Little Background •  We  do  plug-­‐ins   3
  • 4. A Little Background •  Been  using  the  FB  Pla6orm  extensively  for  over  2  yrs   •  Personalize  user  generated  content  on  the  Web   4
  • 5. Using the FB Platform •  SocialPlugins   •  AuthenBcaBon   •  Open  Graph  API   5
  • 6. Social Plugins •  Easily  deployable  widgets  that  bring  FB  into  your   site   –  Like  BuJon   –  Send  BuJon   –  Comments   –  AcBvity  Feed   –  RecommendaBons   –  Like  Box   –  Facepile   –  Live  Stream   6
  • 7. The Like Button •  65  million  Likes  occur  daily!   •  Two  ways  to  implement   –  Simple  iFrame   –  JS  Based   •  Always  use  the  JS  based  version   •  Always  use  an  App  ID   •  Always  implement  OG  tags!   7
  • 8. What can you do with a ? A  website  does  get:   •  The  ability  to  post  messages  to  the  news  feed  of  users   who  Like  an  item  (via  web-­‐interface  and  API)   i.e. can think of a Like as a mini RSS-subscribe button
  • 9. What can you do with a ? A  website  does  get:   •  Access  to  analyBcs  informaBon  regarding  Likes  of   an  item  (via  a  web-­‐interface  and  API)  
  • 10. What can you do with a ? The  Insights  API  allows  you  to  specify  a  date  range,   and  request  a  number  of  aggregate  metrics   including:     •  Likes  /  Unlikes   •  Likes  with  a  Comment   •  Re-­‐sharing  of  Likes  by  Friends   •  Top  CiBes,  Top  Countries  of  visitors  who  Like   •  Gender,  Age  breakdown  of  visitors  who  Like    
  • 11. What can you do with a ? Note:    Some  items  that  can  be  Liked  (e.g.  Ar,cles,  Videos)   are  classified  as  Transient  Content  by  Facebook     <meta property="og:type"   content=”article" />   Transient  Content:   •  Does  not  show  up  in  lists  of  users’  Likes  in  the  API   •  Does  not  show  up  in  the  users’  profile   •  Does  not  allow  the  owner  to  post  anything  to  the  users   who  liked  the  item  
  • 12. Access to information How  can  we  get  detailed  visitor  Facebook  informaBon?   Ask:                                      
  • 13. FB Authentication •  Great/FricBonless  way  to  get  users  to  sign  in   •  Two  opBons:   –  FB  Login   –  FB  RegistraBon   13
  • 14. Access to information You  have  to  be  explicit  with  the  extended   permissions  you  request  from  a  user:     •  About Me •  Location •  Activities •  Messages   •  Birthday •  Notes •  Checkins •  Online Status •  Education •  Photos •  Email Address •  Photo Tags •  Events •  Relationships •  Groups •  Relationship Status •  Hometown •  Last Status •  Interests •  Videos •  LikesAccess to information The more you ask for, the more likely they are to bounce
  • 15. OK… so we’re Authenticated? •  Now  what?   •  Can  use  the  JS  SDK  to  detect  login   •  Use  the  JS  SDK  to  discover  some  interesBng  things   15
  • 16. Meanwhile, back on the server… •  Using  the  various  SDKs  we  can  make  similar  calls   16
  • 17. Some statistical analysis… In  Oct  2010  we  created  a  Content  TargeBng  app  and   asked  employees  to  give  the  app  full  data  access.             •  75  Employees  granted  access   •  Employees  +  Friends  =  ~24,000  profiles  to  analyze   (that  was  an  average  of  320  friends  /  employee)   •  ~1  million  Likes,  spread  across  290,000  different   items  
  • 18. How many things do people ? The  average  number  of  likes  is  35,  but  the  median  is  11   » ¼ of visitors don’t have any Facebok Likes » ½ of visitors have 10 or less » only ¼ of visitors have more than 35 Individually, this is not a lot of information yet, but it’s growing.
  • 20. What do people ? At the median, we would expect a visitor to like: –  2  ArBsts,  Albums,  or  Songs   –  1  Product   –  2  Movies,  TV  Shows  or   –  1  Restaurant   Actors   –  1  Team  or  Athlete   –  1  Local  Business   –  1  Book   –  1  Website   –  1  School   –  1  Public  Figure     In reality the likes are not uniformly distributed across the categories. Some users like mostly music, others are more varied.
  • 21. What do people ? From people with 11 likes, here is one at random: Mr A Cafe  Java  (AusBn)   Restaurants   Carnival  Cruise  Lines   Airlines_ships_train   Duvel   Food_beverage   Full-­‐on  Psytrance   Musicians   Italo  Disco   Musical  genre   Jokes   Interest   Michael  Bolton   Musicians   Psyradio   Websites   Texas  Hold'em  Poker   Games   The  Fantasy  Poker  League   Local_business   Trading   Interest  
  • 22. What do people ? From people with 11 likes, here is one at random: Mrs B 91%  of  people  don't  know  the  6  secrets   Disney  is  hiding  from  people   Movie   CNET   CommunicaBons   CRUNCH   Health_beauty   Friday  Night  Lights   Television   Hulu   Local_business   I  Heart  Photography   Local_professional_services   JRS  and  THE  EFFIN'  BAND   Musicians   Kohl's   Retail   The  LXD   Products_other   The  Office   Television   The  Office   Television