SlideShare a Scribd company logo
Facebook Connect
                               in pratica




Monday, April 27, 2009
“The way of the world is meeting people 
                         through other people”
                            --Robert Kerrigan




Monday, April 27, 2009
Chi siamo?



Monday, April 27, 2009
Andrea Reginato




Monday, April 27, 2009
Andrea Franz




Monday, April 27, 2009
Facebook Connect
                                cosa




Monday, April 27, 2009
Facebook Connect
                                     cosa




                          Facebook fuori da Facebook




Monday, April 27, 2009
Facebook Connect
                               perché




Monday, April 27, 2009
Facebook Connect
                                  perché



                             I. Single Sign On




Monday, April 27, 2009
II. Virale




Monday, April 27, 2009
II. Virale


                             1




Monday, April 27, 2009
II. Virale


                         547




Monday, April 27, 2009
II. Virale


                         547 x 3% = 18




Monday, April 27, 2009
II. Virale


                         9.846


Monday, April 27, 2009
II. Virale


                         9.846 x 3% = 296


Monday, April 27, 2009
II. Virale




Monday, April 27, 2009
II. Virale


                         161.912

Monday, April 27, 2009
II. Virale


                         161.912
                            Cavolo!




Monday, April 27, 2009
Facebook Connect
                                come




Monday, April 27, 2009
Facebook Connect
                                come



                          Commenti Facebook su Blog




Monday, April 27, 2009
Facebook Connect
                                come



                            Commenti Facebook su Blog
                         Gioco basato su Facebook Connect




Monday, April 27, 2009
Commenti Facebook su Blog




Monday, April 27, 2009
Commenti Facebook su Blog
                                   prima




Monday, April 27, 2009
Commenti Facebook su Blog
                                    dopo




Monday, April 27, 2009
Commenti Facebook su Blog
                                  soprattutto




Monday, April 27, 2009
Commenti Facebook su Blog
                     <div class=quot;commentsquot;>
                       <fb:comments>
                       </fb:comments>

                       <script src=quot;http://static.ak.connect.facebook.com/js/
                     api_lib/v0.4/FeatureLoader.js.phpquot; type=quot;text/javascriptquot;>
                       </script>

                       <script type=quot;text/javascriptquot;>
                         FB_RequireFeatures([quot;XFBMLquot;], function(){
                           FB.Facebook.init(quot;14de6b72b5fd52f07607f76840a6801equot;, quot;/
                     xd_receiver.htmquot;);
                         });
                       </script>
                     </div>




Monday, April 27, 2009
Gioco basato su Facebook Connect




Monday, April 27, 2009
Gioco basato su Facebook Connect



                         FindYourFriend :)




Monday, April 27, 2009
FindYourFriend
                         funzionalità facebook connect




Monday, April 27, 2009
FindYourFriend
                         funzionalità facebook connect


                                    Login




Monday, April 27, 2009
FindYourFriend
                         funzionalità facebook connect


                                    Login
                            Rete sociale dell’utente




Monday, April 27, 2009
FindYourFriend
                         funzionalità facebook connect


                                     Login
                            Rete sociale dell’utente
                          Pubblicazione sul news feed




Monday, April 27, 2009
FindYourFriend
                             funzionalità facebook connect


                                          Login
                                 Rete sociale dell’utente
                               Pubblicazione sul news feed
                         Integrazione con tecnologie server side




Monday, April 27, 2009
FindYourFriend
                              login




Monday, April 27, 2009
FindYourFriend
                                              login



                     <div class=quot;loginquot;> 
                       <fb:login‐button autologoutlink=quot;truequot; length=quot;longquot;>
                       </fb:login‐button>
                     </div>




Monday, April 27, 2009
FindYourFriend
                                         login


       initFacebook: function() {    
         FB_RequireFeatures([quot;Apiquot;, quot;XFBMLquot;], this.onApiLoaded.bind(this));
       },

       onApiLoaded: function() {   
         FB.Facebook.init(this.facebook_api_key, this.xdChannelUrl);   
         this.facebook_api = FB.Facebook.apiClient;
         FB.ensureInit(function(){
           FB.Connect.ifUserConnected(connectedCallback, notConnectedCallback);
         });
       },  




Monday, April 27, 2009
FindYourFriend
                         rete sociale dell’utente




Monday, April 27, 2009
FindYourFriend
                                rete sociale dell’utente
             loadFriends: function() {
               this.container.down(quot;.loadingquot;).show();
               this.facebook_api.friends_get(null, this.onFriendsLoad.bind(this));
             },

             onFriendsLoad: function(result) {
               this.facebook_api.users_getInfo(result, ['first_name', 'last_name', 
             'pic_square'], this.onFriendsInfoLoad.bind(this));    
             },

             onFriendsInfoLoad: function(result, exception) {
               result.each(function(friendInfo) {
                 if (friendInfo.pic_square) this.users.push(new User(friendInfo));  
                                                                                    
               }.bind(this));
               this.initHandlers();
               this.showGame();
               this.onLoadCallback(this);
             },



Monday, April 27, 2009
FindYourFriend
                         pubblicazione sul news feed




Monday, April 27, 2009
FindYourFriend
                                   pubblicazione sul news feed

                         openDialog: function(level) {
                           var template_bundle_id = quot;69711773935quot;;
                           new FB.Connect.showFeedDialog(
                             template_bundle_id,
                             {level: level},
                             [], // target_id
                             quot;Great!quot;, 
                             null, // parametro deprecato
                             FB.RequireConnect.promptConnect, 
                             function(result, exception) {}, 
                             quot;FindYourFriendquot;, 
                             {value: quot;Yuhuhuhuhuu sono arrivato al livello quot; + 
                         level});
                         }




Monday, April 27, 2009
FindYourFriend
                         integrazione con tecnologie server side




Monday, April 27, 2009
FindYourFriend
                         integrazione con tecnologie server side

         onGameOver: function() {
           this.container.down(quot;#btnRestartquot;).show();    
           new Ajax.Request('/save', {
             parameters: quot;player[points]=quot; + this.points + quot;&player[uid]=quot; + 
         this.facebook_api.get_session().uid
           });
           this.openDialog(this.level.index);    
         },




Monday, April 27, 2009
Dimostrazione


Monday, April 27, 2009
Domande?
                          Andrea Franz <andrea@mikamai.com>
                         Andrea Reginato <reggie@mikamai.com>




Monday, April 27, 2009

More Related Content

Viewers also liked

Facebook Connect
Facebook ConnectFacebook Connect
Facebook Connect
Pitra Satvika
 
Facebook Connect Presentation 08 10 2008
Facebook Connect Presentation 08 10 2008Facebook Connect Presentation 08 10 2008
Facebook Connect Presentation 08 10 2008
Karl Bunyan
 
Facebook Connect For Your 
Website
Facebook Connect For Your 
WebsiteFacebook Connect For Your 
Website
Facebook Connect For Your 
Website
Ozkan Altuner
 
Facebook Connect
Facebook ConnectFacebook Connect
Facebook Connect
Beth Ann Williamson
 
Facebook Login and Open Graph
Facebook Login and Open GraphFacebook Login and Open Graph
Facebook Login and Open Graph
Timon Hartung
 
App Nation - Build and Grow with Facebook Login and Sharing
App Nation - Build and Grow with Facebook Login and SharingApp Nation - Build and Grow with Facebook Login and Sharing
App Nation - Build and Grow with Facebook Login and SharingPeter Yang
 
The Introductory Guide to Social Login
The Introductory Guide to Social LoginThe Introductory Guide to Social Login
The Introductory Guide to Social Login
LoginRadius
 
Analysis of 150 Websites Using Facebook Login
Analysis of 150 Websites Using Facebook LoginAnalysis of 150 Websites Using Facebook Login
Analysis of 150 Websites Using Facebook Login
Neolane, Inc.
 
Facebook Login & Open Graph Introduction
Facebook Login & Open Graph IntroductionFacebook Login & Open Graph Introduction
Facebook Login & Open Graph Introduction
Eric Ping
 
Facebook Connect 5 Things You Wish You Had Known Before You Started
Facebook Connect   5 Things You Wish You Had Known Before You StartedFacebook Connect   5 Things You Wish You Had Known Before You Started
Facebook Connect 5 Things You Wish You Had Known Before You Started
Toby Beresford
 
Prada powerpoint
Prada powerpointPrada powerpoint
Prada powerpointwilsonliu07
 
Facebook Connect Design Patterns and Metrics
Facebook Connect Design Patterns and MetricsFacebook Connect Design Patterns and Metrics
Facebook Connect Design Patterns and Metrics
Hiten Shah
 
My Top 10 slides on presentations
My Top 10 slides on presentationsMy Top 10 slides on presentations
My Top 10 slides on presentations
Alexei Kapterev
 
Comunicare con le slides
Comunicare con le slidesComunicare con le slides
Comunicare con le slides
luisamarini
 
Presentation Secrets
Presentation SecretsPresentation Secrets
Presentation Secrets
Alexei Kapterev
 
Facebook Powerpoint
Facebook PowerpointFacebook Powerpoint
Facebook Powerpointmyra14
 
Fight the Power(point)!
Fight the Power(point)!Fight the Power(point)!
Fight the Power(point)!Todd Reubold
 
7 Tips to Beautiful PowerPoint by @itseugenec
7 Tips to Beautiful PowerPoint by @itseugenec7 Tips to Beautiful PowerPoint by @itseugenec
7 Tips to Beautiful PowerPoint by @itseugenec
Eugene Cheng
 
STEAL THIS PRESENTATION!
STEAL THIS PRESENTATION! STEAL THIS PRESENTATION!
STEAL THIS PRESENTATION!
Jesse Desjardins - @jessedee
 

Viewers also liked (20)

Facebook Connect
Facebook ConnectFacebook Connect
Facebook Connect
 
Facebook Connect Presentation 08 10 2008
Facebook Connect Presentation 08 10 2008Facebook Connect Presentation 08 10 2008
Facebook Connect Presentation 08 10 2008
 
Facebook Connect For Your 
Website
Facebook Connect For Your 
WebsiteFacebook Connect For Your 
Website
Facebook Connect For Your 
Website
 
Facebook Connect
Facebook ConnectFacebook Connect
Facebook Connect
 
Facebook Login and Open Graph
Facebook Login and Open GraphFacebook Login and Open Graph
Facebook Login and Open Graph
 
App Nation - Build and Grow with Facebook Login and Sharing
App Nation - Build and Grow with Facebook Login and SharingApp Nation - Build and Grow with Facebook Login and Sharing
App Nation - Build and Grow with Facebook Login and Sharing
 
The Introductory Guide to Social Login
The Introductory Guide to Social LoginThe Introductory Guide to Social Login
The Introductory Guide to Social Login
 
Analysis of 150 Websites Using Facebook Login
Analysis of 150 Websites Using Facebook LoginAnalysis of 150 Websites Using Facebook Login
Analysis of 150 Websites Using Facebook Login
 
Facebook Login & Open Graph Introduction
Facebook Login & Open Graph IntroductionFacebook Login & Open Graph Introduction
Facebook Login & Open Graph Introduction
 
Facebook Connect 5 Things You Wish You Had Known Before You Started
Facebook Connect   5 Things You Wish You Had Known Before You StartedFacebook Connect   5 Things You Wish You Had Known Before You Started
Facebook Connect 5 Things You Wish You Had Known Before You Started
 
Prada powerpoint
Prada powerpointPrada powerpoint
Prada powerpoint
 
Facebook Connect Design Patterns and Metrics
Facebook Connect Design Patterns and MetricsFacebook Connect Design Patterns and Metrics
Facebook Connect Design Patterns and Metrics
 
My Top 10 slides on presentations
My Top 10 slides on presentationsMy Top 10 slides on presentations
My Top 10 slides on presentations
 
Comunicare con le slides
Comunicare con le slidesComunicare con le slides
Comunicare con le slides
 
Presentation prada
Presentation pradaPresentation prada
Presentation prada
 
Presentation Secrets
Presentation SecretsPresentation Secrets
Presentation Secrets
 
Facebook Powerpoint
Facebook PowerpointFacebook Powerpoint
Facebook Powerpoint
 
Fight the Power(point)!
Fight the Power(point)!Fight the Power(point)!
Fight the Power(point)!
 
7 Tips to Beautiful PowerPoint by @itseugenec
7 Tips to Beautiful PowerPoint by @itseugenec7 Tips to Beautiful PowerPoint by @itseugenec
7 Tips to Beautiful PowerPoint by @itseugenec
 
STEAL THIS PRESENTATION!
STEAL THIS PRESENTATION! STEAL THIS PRESENTATION!
STEAL THIS PRESENTATION!
 

Recently uploaded

PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Nexer Digital
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
nkrafacyberclub
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Aggregage
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
UiPathCommunity
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 

Recently uploaded (20)

PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?Elizabeth Buie - Older adults: Are we really designing for our future selves?
Elizabeth Buie - Older adults: Are we really designing for our future selves?
 
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptxSecstrike : Reverse Engineering & Pwnable tools for CTF.pptx
Secstrike : Reverse Engineering & Pwnable tools for CTF.pptx
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Generative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionGenerative AI Deep Dive: Advancing from Proof of Concept to Production
Generative AI Deep Dive: Advancing from Proof of Concept to Production
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 

Facebook Connect

  • 1. Facebook Connect in pratica Monday, April 27, 2009
  • 2. “The way of the world is meeting people  through other people” --Robert Kerrigan Monday, April 27, 2009
  • 6. Facebook Connect cosa Monday, April 27, 2009
  • 7. Facebook Connect cosa Facebook fuori da Facebook Monday, April 27, 2009
  • 8. Facebook Connect perché Monday, April 27, 2009
  • 9. Facebook Connect perché I. Single Sign On Monday, April 27, 2009
  • 11. II. Virale 1 Monday, April 27, 2009
  • 12. II. Virale 547 Monday, April 27, 2009
  • 13. II. Virale 547 x 3% = 18 Monday, April 27, 2009
  • 14. II. Virale 9.846 Monday, April 27, 2009
  • 15. II. Virale 9.846 x 3% = 296 Monday, April 27, 2009
  • 17. II. Virale 161.912 Monday, April 27, 2009
  • 18. II. Virale 161.912 Cavolo! Monday, April 27, 2009
  • 19. Facebook Connect come Monday, April 27, 2009
  • 20. Facebook Connect come Commenti Facebook su Blog Monday, April 27, 2009
  • 21. Facebook Connect come Commenti Facebook su Blog Gioco basato su Facebook Connect Monday, April 27, 2009
  • 22. Commenti Facebook su Blog Monday, April 27, 2009
  • 23. Commenti Facebook su Blog prima Monday, April 27, 2009
  • 24. Commenti Facebook su Blog dopo Monday, April 27, 2009
  • 25. Commenti Facebook su Blog soprattutto Monday, April 27, 2009
  • 26. Commenti Facebook su Blog <div class=quot;commentsquot;>   <fb:comments>   </fb:comments>   <script src=quot;http://static.ak.connect.facebook.com/js/ api_lib/v0.4/FeatureLoader.js.phpquot; type=quot;text/javascriptquot;>   </script>   <script type=quot;text/javascriptquot;>     FB_RequireFeatures([quot;XFBMLquot;], function(){       FB.Facebook.init(quot;14de6b72b5fd52f07607f76840a6801equot;, quot;/ xd_receiver.htmquot;);     });   </script> </div> Monday, April 27, 2009
  • 27. Gioco basato su Facebook Connect Monday, April 27, 2009
  • 28. Gioco basato su Facebook Connect FindYourFriend :) Monday, April 27, 2009
  • 29. FindYourFriend funzionalità facebook connect Monday, April 27, 2009
  • 30. FindYourFriend funzionalità facebook connect Login Monday, April 27, 2009
  • 31. FindYourFriend funzionalità facebook connect Login Rete sociale dell’utente Monday, April 27, 2009
  • 32. FindYourFriend funzionalità facebook connect Login Rete sociale dell’utente Pubblicazione sul news feed Monday, April 27, 2009
  • 33. FindYourFriend funzionalità facebook connect Login Rete sociale dell’utente Pubblicazione sul news feed Integrazione con tecnologie server side Monday, April 27, 2009
  • 34. FindYourFriend login Monday, April 27, 2009
  • 35. FindYourFriend login <div class=quot;loginquot;>    <fb:login‐button autologoutlink=quot;truequot; length=quot;longquot;>   </fb:login‐button> </div> Monday, April 27, 2009
  • 36. FindYourFriend login initFacebook: function() {       FB_RequireFeatures([quot;Apiquot;, quot;XFBMLquot;], this.onApiLoaded.bind(this)); }, onApiLoaded: function() {      FB.Facebook.init(this.facebook_api_key, this.xdChannelUrl);      this.facebook_api = FB.Facebook.apiClient;   FB.ensureInit(function(){     FB.Connect.ifUserConnected(connectedCallback, notConnectedCallback);   }); },   Monday, April 27, 2009
  • 37. FindYourFriend rete sociale dell’utente Monday, April 27, 2009
  • 38. FindYourFriend rete sociale dell’utente loadFriends: function() {   this.container.down(quot;.loadingquot;).show();   this.facebook_api.friends_get(null, this.onFriendsLoad.bind(this)); }, onFriendsLoad: function(result) {   this.facebook_api.users_getInfo(result, ['first_name', 'last_name',  'pic_square'], this.onFriendsInfoLoad.bind(this));     }, onFriendsInfoLoad: function(result, exception) {   result.each(function(friendInfo) {     if (friendInfo.pic_square) this.users.push(new User(friendInfo));       }.bind(this));   this.initHandlers();   this.showGame();   this.onLoadCallback(this); }, Monday, April 27, 2009
  • 39. FindYourFriend pubblicazione sul news feed Monday, April 27, 2009
  • 40. FindYourFriend pubblicazione sul news feed openDialog: function(level) {   var template_bundle_id = quot;69711773935quot;;   new FB.Connect.showFeedDialog(     template_bundle_id,     {level: level},     [], // target_id     quot;Great!quot;,      null, // parametro deprecato     FB.RequireConnect.promptConnect,      function(result, exception) {},      quot;FindYourFriendquot;,      {value: quot;Yuhuhuhuhuu sono arrivato al livello quot; +  level}); } Monday, April 27, 2009
  • 41. FindYourFriend integrazione con tecnologie server side Monday, April 27, 2009
  • 42. FindYourFriend integrazione con tecnologie server side onGameOver: function() {   this.container.down(quot;#btnRestartquot;).show();       new Ajax.Request('/save', {     parameters: quot;player[points]=quot; + this.points + quot;&player[uid]=quot; +  this.facebook_api.get_session().uid   });   this.openDialog(this.level.index);     }, Monday, April 27, 2009
  • 44. Domande? Andrea Franz <andrea@mikamai.com> Andrea Reginato <reggie@mikamai.com> Monday, April 27, 2009