SlideShare a Scribd company logo
1 of 44
Download to read offline
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 Presentation 08 10 2008
Facebook Connect Presentation 08 10 2008Facebook Connect Presentation 08 10 2008
Facebook Connect Presentation 08 10 2008Karl Bunyan
 
Facebook Connect For Your 
Website
Facebook Connect For Your 
WebsiteFacebook Connect For Your 
Website
Facebook Connect For Your 
WebsiteOzkan Altuner
 
Facebook Login and Open Graph
Facebook Login and Open GraphFacebook Login and Open Graph
Facebook Login and Open GraphTimon 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 LoginLoginRadius
 
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 LoginNeolane, Inc.
 
Facebook Login & Open Graph Introduction
Facebook Login & Open Graph IntroductionFacebook Login & Open Graph Introduction
Facebook Login & Open Graph IntroductionEric 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 StartedToby 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 MetricsHiten Shah
 
My Top 10 slides on presentations
My Top 10 slides on presentationsMy Top 10 slides on presentations
My Top 10 slides on presentationsAlexei Kapterev
 
Comunicare con le slides
Comunicare con le slidesComunicare con le slides
Comunicare con le slidesluisamarini
 
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 @itseugenecEugene Cheng
 

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

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 
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 FresherRemote DBA Services
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
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 connectorsNanddeep Nachan
 
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 challengesrafiqahmad00786416
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
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...apidays
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
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 Takeoffsammart93
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 

Recently uploaded (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
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
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
+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...
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
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
 
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
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
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...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
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
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

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