SlideShare a Scribd company logo
1 of 39
WHAT’S NEW ON THE FACEBOOK
PLATFORM, OCTOBER 2011


Iskandar Najmuddin
19th October 2011
Facebook Developer Garage London




SYNCAPSE | New York | Toronto | London | Portland                                                                                 1
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
I {actioned} THIS {object} USING {app}




SYNCAPSE | New York | Toronto | London | Portland                                                                                 2
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
October 1st – The Modern FB Platform

The HTTPS deadline for Canvas and Tab apps.
• No SSL? No more users. Bye bye!
• So check your Tabs, if you got „em.
• Use the setAppProperties (REST API) to set secure URLs en-masse
• FBML apps work, but check externally-loaded resources, avoid „mixed
  content‟ messages.


OAuth 2.0 now enabled by default
• Use PHP SDK >= 3.1.1
• Set oauth:true in FB JS SDK
• Watch out for JS cookie vs. session „code‟ conflicts, though




SYNCAPSE | New York | Toronto | London | Portland                                                                                 3
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Graph API Updates

More methods, more objects
• Manage Notifications
• Manage Events
• Read Friend Requests
• Manage banned App users
• Manage App migrations
• Set App restrictions
• Read Game Achievements


Any reasons left to use the REST API?




SYNCAPSE | New York | Toronto | London | Portland                                                                                 4
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
New Auth Dialog

Allows users to decline permissions individually. This is great for everyone!


Apps should now
• Validate user permissions before attempting an action
• Gracefully handle failures due to missing permissions


What to do
•       Use the Graph API to check permissions and FB.login to request missing ones.
•       Or use the Real-Time API to cache existing permissions for each user.
•       Use new Insights to see which permissions get rejected and tune your app
        accordingly.
•       Check out Authenticated Referrals: Automatic permissions when users come to
        your app from FB.


SYNCAPSE | New York | Toronto | London | Portland                                                                                 5
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
New Auth Dialog Example




SYNCAPSE | New York | Toronto | London | Portland                                                                                 6
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Timeline is The New Profile

See ALL of your Facebook activity over time.
• Add historical events and content.
• Check-in mapping.
• More expression
      • Highlight Timeline Stories
      • Use clever Cover images
• And Application Content too!
• Available for Developers now, but not fully launched yet.




SYNCAPSE | New York | Toronto | London | Portland                                                                                 7
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Ticker is a Firehose

The Ticker is a near-real-time firehoseof connection activity
stories.


• Perfect for light touch, „trivial‟ content.
  • Is this where those damn Farmville stories belong?
• Apps can Publish Stories to the Ticker without user
  confirmation.




SYNCAPSE | New York | Toronto | London | Portland                                                                                 8
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Ticker | Graph Rank = News Feed

Some stories will be promoted to the News Feed, if the Graph Rank AI
deems them worthy.


       Ticker Story
                                                                                                                                  News Feed




                          Graph Rank                                                            Worthy?
                                                                                                                                  Full Story
              International AI of Mystery




SYNCAPSE | New York | Toronto | London | Portland                                                                                              9
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Requests 2.0 Updates

“Friction-less” requests can skip confirmation dialog.
• But only if all the „to‟ UIDs have been approved by the user at least once.


Breaking Change:
Callback response data structure changed to contain array of UIDs in the to
property.

January 1, 2012 - existing
apps will be opted into the
Request 2.0 migrations!




SYNCAPSE | New York | Toronto | London | Portland                                                                                 10
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Cloud Service Integration
The first provider: Heroku
Clickyclickyclicky – now you have a hosted app running in that there cloud.


Heroku supports:
•       PHP (warning: docs are sparse)
•       Node.js
•       Python
•       Ruby


$ git push origin master
… heroku does some magic
… And now your app is updated


Free for low-traffic apps!

SYNCAPSE | New York | Toronto | London | Portland                                                                                 11
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Mobile Web Apps
Bookmarking, Requests, all work nicely.
•       But still no Page Tabs anywhere Mobile.


Native Facebook apps (iOS, Android) know to open your app as:
1. Native Mobile or
2. Mobile Web


Credits on Mobile supported, but not in
native iOS apps (thanks a lot, iTunes)


Your Mobile Web app will work inside
the Facebook Native App chrome.




SYNCAPSE | New York | Toronto | London | Portland                                                                                 12
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Mobile Web Apps – Basic Auth Dialog
In the iPad Facebook App:




SYNCAPSE | New York | Toronto | London | Portland                                                                                 13
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Mobile Web App - Example
In the iPad Facebook App:




SYNCAPSE | New York | Toronto | London | Portland                                                                                 14
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
OPEN GRAPH BETA




SYNCAPSE | New York | Toronto | London | Portland                                                                                 15
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Open Graph Beta
What’s it about?
    From https://developers.facebook.com/docs/beta/


  “With the Open Graph, your app becomes
  a part of the user‟s identity and social
  graph.

  Through a single API, you‟re able to
  deeply integrate into the key points of
  distribution on Facebook: Timeline, App
  Views, News Feed, and Ticker.
  …
  With the Open Graph, you‟ll be able to
  create a deep, persistent connection
  between you and your users, and drive
  new users to your app.”



SYNCAPSE | New York | Toronto | London | Portland                                                                                 16
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Open Graph Beta
Say What?

  For Developers
  • Invent new ways for users to interact with your content.
  • Lots of new methods to raise app visibility.
  • More connections, more data = more WIN!

  But note
  • It‟s all beta, baby
  • When do Custom Actions launch? undefined



  Oh No!
  Matt throws Dan
  out the window


SYNCAPSE | New York | Toronto | London | Portland                                                                                 17
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Open Graph Beta
Nodes and Lines

                                                                                                                                  Objects are Nodes
                                                                                                                                  •   Facebook own their Social Graph Nodes
                                                                                                                                        • Users, Pages, Groups, Events, etc
                                                                                                                                  •   You can create your own Nodes

                                                                                                                                  Actions are Lines
                                                                                                                                  •   AKA Edges or Connections
                                                                                                                                  •   Facebook own some Actions
                                                                                                                                        • Like, Recommend, Friend, etc
                                                                                                                                  •   You can create your own Actions

                                                                                                                                  You can now connect Nodes together
                                                                                                                                  using your own Actions.




SYNCAPSE | New York | Toronto | London | Portland                                                                                                                        18
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Open Graph, not so long ago
•       Create your own Objects
•       Use Facebook‟s Object Types or define your own
•       Social Graph users can do
             • Facebook-defined actions on your Objects.




SYNCAPSE | New York | Toronto | London | Portland                                                                                 19
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Open Graph, today
•       Create your owndetailed Object Types and Actions in your app Namespace.
•       Social Graph users can do
             • Facebook-defined actions on your Objects
             • Custom actions on your Objects
             • Custom actions on Facebook-defined Objects




SYNCAPSE | New York | Toronto | London | Portland                                                                                 20
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Get Started – The Open Graph Dashboard
Click on the Open Graph
link in the App Settings
menu.


Create and manage
Actions, Object Types, and
Aggregations.


But there is NO API access
for any of this yet, so get
ready for lots of browser-
driving 




SYNCAPSE | New York | Toronto | London | Portland                                                                                 21
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Set up Custom Object Types
1. Name it


2. Add custom
   properties




3. Inflect it




SYNCAPSE | New York | Toronto | London | Portland                                                                                 22
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Custom Object – Creating an instance
Tweak your OG metadata
1. Add prefix namespaces to the head element
2. Add your app namespace to the og:typemeta content

<head prefix="og: http://ogp.me/ns# my_ns: http://ogp.me/ns/apps/my_ns#">
<meta property="fb:app_id" content="278839975471035"/>
<meta property="og:locale" content="en_US" />
<meta property="og:title" content="Pineapple Pizza Slice" />
<meta property="og:type" content="my_ns:pizza_slice" />
<meta property="og:image" content="http://domain/pineapple-pizza-slice.jpg" />
<meta property="og:url" content="http://domain/pineapple-pizza-slice" />
<meta property="og:description" content="Cheese and fruit, a tropical sensation" />
<meta property="og:site_name" content="FDGL October 2011 App" />
snip




SYNCAPSE | New York | Toronto | London | Portland                                                                                 23
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Set up Custom Actions
Use the massive UI in the Facebook Developer App. It‟s seriously huge.




 Custom Actions will need to be submitted and approved by Facebook
 •       FB have proposed a 48-hour turnaround
 •       Positive actions preferred (so probably no Unlike action, sorry!)



SYNCAPSE | New York | Toronto | London | Portland                                                                                 24
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Set up Aggregations
1. Choose the type of data to
   Display and the linked
   Action.


2. Choose a Style


3. Set up sorting and captions




4. Preview




SYNCAPSE | New York | Toronto | London | Portland                                                                                 25
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Set up Aggregation Previews


Users will see Aggregation
Previews in the Auth Dialog.


1. Create Preview Objects
   • These are just dummy
     Objects for presentation

2. Create Preview Actions
   • Link Actions to Preview
     Objects




  SYNCAPSE | New York | Toronto | London | Portland                                                                                 26
  All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Aggregation Example



                                                                                                                                  Aggregations show on a user‟s
                                                                                                                                  Timeline after they have
                                                                                                                                  completed at least 6 actions.




SYNCAPSE | New York | Toronto | London | Portland                                                                                                             27
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Custom Actions – Creating an instance
Get publish_actions permission from the user.


Create an Action instance: Graph API & JS SDK
varurl = ‘/me/my_app_ns:action_id?object_type=https://object/opengraph/url’;
FB.api(url, 'post', function(response) { console.log(response); });


A Real-ish Example:
POST /me/my_ns:chow_down_on?pizza_slice=http://domain/pineapple-pizza-slice




SYNCAPSE | New York | Toronto | London | Portland                                                                                 28
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Custom Actions – Where do they show?
•       Ticker & Ticker Fly-Out
•       News Feed
            • If promoted from the Ticker
•       Timeline – Feed Stories
            • If recent and not yet aggregated
• Timeline – Featured Stories
       • If user chooses to highlight the story
•       Timeline – Recent Activity
            • If app used frequently/recently (unclear)
•       Timeline – Aggregations
            • If > 6 Actions taken by the user


Let‟s have a look!



SYNCAPSE | New York | Toronto | London | Portland                                                                                 29
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Custom Actions, Ticker & Fly-out




SYNCAPSE | New York | Toronto | London | Portland                                                                                 30
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Custom Actions in News Feed

This story was aggregated, nice.




  SYNCAPSE | New York | Toronto | London | Portland                                                                                 31
  All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Custom Actions on Timeline:
Feed Stories



                                                                                                                                  Multiple Actions




                             A Single Action




SYNCAPSE | New York | Toronto | London | Portland                                                                                                    32
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Custom Actions on Timeline:
Featured Story
Users can choose to Feature a story on their Timelines. I love pizza.




SYNCAPSE | New York | Toronto | London | Portland                                                                                 33
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Custom Actions on Timeline:
Recent Activity




SYNCAPSE | New York | Toronto | London | Portland                                                                                 34
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Custom Actions on Timeline:
Aggregations




SYNCAPSE | New York | Toronto | London | Portland                                                                                 35
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Open Graph Beta
In Use By

Lots of Media partners:
• Netflix
• Spotify
• The Guardian
• The Independent
• Yahoo!
• And others

See more here:
https://developers.facebook.com/showcase/




SYNCAPSE | New York | Toronto | London | Portland                                                                                 36
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
IMPORTANT BREAKAGES
                                           AND DATES




SYNCAPSE | New York | Toronto | London | Portland                                                                                 37
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
Roadmapping

FBML Hell to End. JOY!
•         No bugfixes after Jan. 1st 2012
             – Except for security fixes
•         All FBML endpoints smashed by sledgehammers on June 1st 2012


Other dates
•         Nov. 1st, 2011: manage_notifications permission required to, yes, manage notifications
•         Dec. 1st, 2011: Dashboard APIs shut down & App Bookmark URL removed
•         Jan. 1st, 2012
             –        FB.Data JS SDK APIs removed
             –        FB.Canvas.setAutoResize renamed to FB.Canvas.setAutoGrow
             –        Apps auto-migrated to Requests 2.0
•         Feb. 1st, 2012: canvas_name removed from App properties in favor of namespace




SYNCAPSE | New York | Toronto | London | Portland                                                                                 38
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
IF I TALKED REALLY FAST, WE MAY
HAVE TIME FOR QUESTIONS. DO WE?
 And see you next time!

Ask me about social media, technology, or eggs:
• i.najmuddin@syncapse.com
• twitter.com/iskandar
• +44(0)207.096.0146




SYNCAPSE | New York | Toronto | London | Portland                                                                                 39
All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.

More Related Content

What's hot

Android Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - IntroductionAndroid Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - IntroductionAndreas Jakl
 
Why not Web 2.0 in Korea?
Why not Web 2.0 in Korea?Why not Web 2.0 in Korea?
Why not Web 2.0 in Korea?Channy Yun
 
BP110: The Mobile Distruption - Why XPages Development is targeting Mobile First
BP110: The Mobile Distruption - Why XPages Development is targeting Mobile FirstBP110: The Mobile Distruption - Why XPages Development is targeting Mobile First
BP110: The Mobile Distruption - Why XPages Development is targeting Mobile FirstJohn Head
 
Social mediaprogramming part2-java-jax-london
Social mediaprogramming part2-java-jax-londonSocial mediaprogramming part2-java-jax-london
Social mediaprogramming part2-java-jax-londonKhanderao Kand
 
Native is easy. Mobile web is freaking hard.
Native is easy. Mobile web is freaking hard.Native is easy. Mobile web is freaking hard.
Native is easy. Mobile web is freaking hard.Jason Grigsby
 
Joomla Day Australia 2019
Joomla Day Australia 2019Joomla Day Australia 2019
Joomla Day Australia 2019George Wilson
 
GSP East 2008: Open Social: Open For Business
GSP East 2008: Open Social: Open For BusinessGSP East 2008: Open Social: Open For Business
GSP East 2008: Open Social: Open For BusinessPatrick Chanezon
 
Building Social Business Applications with OpenSocial
Building Social Business Applications with OpenSocialBuilding Social Business Applications with OpenSocial
Building Social Business Applications with OpenSocialClint Oram
 
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
Hybrid Mobile Development with Apache Cordova,AngularJs and ionicHybrid Mobile Development with Apache Cordova,AngularJs and ionic
Hybrid Mobile Development with Apache Cordova,AngularJs and ionicErmias Bayu
 
Android Development with Kotlin, Part 3 - Code and App Management
Android Development with Kotlin, Part 3 - Code and App ManagementAndroid Development with Kotlin, Part 3 - Code and App Management
Android Development with Kotlin, Part 3 - Code and App ManagementAndreas Jakl
 
Developing Hybrid Applications with IONIC
Developing Hybrid Applications with IONICDeveloping Hybrid Applications with IONIC
Developing Hybrid Applications with IONICFuat Buğra AYDIN
 
Building a facebook application by php
Building a facebook application by phpBuilding a facebook application by php
Building a facebook application by phpAiTi Education
 

What's hot (15)

Michael Apolonio Ugale CV_Mobile
Michael Apolonio Ugale CV_MobileMichael Apolonio Ugale CV_Mobile
Michael Apolonio Ugale CV_Mobile
 
Webapi
WebapiWebapi
Webapi
 
Android Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - IntroductionAndroid Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - Introduction
 
Why not Web 2.0 in Korea?
Why not Web 2.0 in Korea?Why not Web 2.0 in Korea?
Why not Web 2.0 in Korea?
 
BP110: The Mobile Distruption - Why XPages Development is targeting Mobile First
BP110: The Mobile Distruption - Why XPages Development is targeting Mobile FirstBP110: The Mobile Distruption - Why XPages Development is targeting Mobile First
BP110: The Mobile Distruption - Why XPages Development is targeting Mobile First
 
Social mediaprogramming part2-java-jax-london
Social mediaprogramming part2-java-jax-londonSocial mediaprogramming part2-java-jax-london
Social mediaprogramming part2-java-jax-london
 
Native is easy. Mobile web is freaking hard.
Native is easy. Mobile web is freaking hard.Native is easy. Mobile web is freaking hard.
Native is easy. Mobile web is freaking hard.
 
Joomla Day Australia 2019
Joomla Day Australia 2019Joomla Day Australia 2019
Joomla Day Australia 2019
 
GSP East 2008: Open Social: Open For Business
GSP East 2008: Open Social: Open For BusinessGSP East 2008: Open Social: Open For Business
GSP East 2008: Open Social: Open For Business
 
Building Social Business Applications with OpenSocial
Building Social Business Applications with OpenSocialBuilding Social Business Applications with OpenSocial
Building Social Business Applications with OpenSocial
 
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
Hybrid Mobile Development with Apache Cordova,AngularJs and ionicHybrid Mobile Development with Apache Cordova,AngularJs and ionic
Hybrid Mobile Development with Apache Cordova,AngularJs and ionic
 
Apps Builder
Apps BuilderApps Builder
Apps Builder
 
Android Development with Kotlin, Part 3 - Code and App Management
Android Development with Kotlin, Part 3 - Code and App ManagementAndroid Development with Kotlin, Part 3 - Code and App Management
Android Development with Kotlin, Part 3 - Code and App Management
 
Developing Hybrid Applications with IONIC
Developing Hybrid Applications with IONICDeveloping Hybrid Applications with IONIC
Developing Hybrid Applications with IONIC
 
Building a facebook application by php
Building a facebook application by phpBuilding a facebook application by php
Building a facebook application by php
 

Viewers also liked

What's New on the Facebook Platform, November 2011
What's New on the Facebook Platform, November 2011What's New on the Facebook Platform, November 2011
What's New on the Facebook Platform, November 2011Iskandar Najmuddin
 
What's New on the Facebook Platform, July 2011
What's New on the Facebook Platform, July 2011What's New on the Facebook Platform, July 2011
What's New on the Facebook Platform, July 2011Iskandar Najmuddin
 
What's New on the Facebook Platform, May 2011
What's New on the Facebook Platform, May 2011What's New on the Facebook Platform, May 2011
What's New on the Facebook Platform, May 2011Iskandar Najmuddin
 
What's New on the Facebook Platform, April 2011
What's New on the Facebook Platform, April 2011What's New on the Facebook Platform, April 2011
What's New on the Facebook Platform, April 2011Iskandar Najmuddin
 
What's New on the Facebook Platform, June 2011
What's New on the Facebook Platform, June 2011What's New on the Facebook Platform, June 2011
What's New on the Facebook Platform, June 2011Iskandar Najmuddin
 
What's New on the Facebook Platform, February 2012
What's New on the Facebook Platform, February 2012What's New on the Facebook Platform, February 2012
What's New on the Facebook Platform, February 2012Iskandar Najmuddin
 

Viewers also liked (6)

What's New on the Facebook Platform, November 2011
What's New on the Facebook Platform, November 2011What's New on the Facebook Platform, November 2011
What's New on the Facebook Platform, November 2011
 
What's New on the Facebook Platform, July 2011
What's New on the Facebook Platform, July 2011What's New on the Facebook Platform, July 2011
What's New on the Facebook Platform, July 2011
 
What's New on the Facebook Platform, May 2011
What's New on the Facebook Platform, May 2011What's New on the Facebook Platform, May 2011
What's New on the Facebook Platform, May 2011
 
What's New on the Facebook Platform, April 2011
What's New on the Facebook Platform, April 2011What's New on the Facebook Platform, April 2011
What's New on the Facebook Platform, April 2011
 
What's New on the Facebook Platform, June 2011
What's New on the Facebook Platform, June 2011What's New on the Facebook Platform, June 2011
What's New on the Facebook Platform, June 2011
 
What's New on the Facebook Platform, February 2012
What's New on the Facebook Platform, February 2012What's New on the Facebook Platform, February 2012
What's New on the Facebook Platform, February 2012
 

Similar to What's New on The Facebook Platform, October 2011

Enterprise Social Networking with Alfresco 4
Enterprise Social Networking with Alfresco 4Enterprise Social Networking with Alfresco 4
Enterprise Social Networking with Alfresco 4rivetlogic
 
Hybrid app development
Hybrid app developmentHybrid app development
Hybrid app developmentHarshul Shah
 
"React Native" by Vanessa Leo e Roberto Brogi
"React Native" by Vanessa Leo e Roberto Brogi "React Native" by Vanessa Leo e Roberto Brogi
"React Native" by Vanessa Leo e Roberto Brogi ThinkOpen
 
Hire Ionic Developer to Build Cross-platform, Feature-rich, and most advanced...
Hire Ionic Developer to Build Cross-platform, Feature-rich, and most advanced...Hire Ionic Developer to Build Cross-platform, Feature-rich, and most advanced...
Hire Ionic Developer to Build Cross-platform, Feature-rich, and most advanced...Katy Slemon
 
Mobile - trends, choices, plans
Mobile - trends, choices, plansMobile - trends, choices, plans
Mobile - trends, choices, plansDavid Haskiya
 
Best Interactive guide on Top 10 Mobile App Development Frameworks
Best Interactive guide on Top 10 Mobile App Development FrameworksBest Interactive guide on Top 10 Mobile App Development Frameworks
Best Interactive guide on Top 10 Mobile App Development Frameworksvarshasolanki7
 
Common Ionic Development Mistakes Developers Tend To Make!
Common Ionic Development Mistakes Developers Tend To Make!Common Ionic Development Mistakes Developers Tend To Make!
Common Ionic Development Mistakes Developers Tend To Make!Techugo
 
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"BBC News Labs
 
Nashville DevFest '17 - When To Go Native (Jonathan Wiley, LunarLincoln)
Nashville DevFest '17 - When To Go Native (Jonathan Wiley, LunarLincoln)Nashville DevFest '17 - When To Go Native (Jonathan Wiley, LunarLincoln)
Nashville DevFest '17 - When To Go Native (Jonathan Wiley, LunarLincoln)Jonathan Wiley
 
React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why Moon Technolabs Pvt. Ltd.
 
React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why Moon Technolabs Pvt. Ltd.
 
User Interface Engineering (UIE) Web App Masters Tour 2011
User Interface Engineering (UIE) Web App Masters Tour 2011User Interface Engineering (UIE) Web App Masters Tour 2011
User Interface Engineering (UIE) Web App Masters Tour 2011Mike Lee
 
Liferay & Alfresco: Delivering Enterprise Content Through a Portal 02 August ...
Liferay & Alfresco: Delivering Enterprise Content Through a Portal 02 August ...Liferay & Alfresco: Delivering Enterprise Content Through a Portal 02 August ...
Liferay & Alfresco: Delivering Enterprise Content Through a Portal 02 August ...Alfresco Software
 
Native vs HTML
Native vs HTMLNative vs HTML
Native vs HTMLludlola
 
Ionic vs flutter best platform for hybrid app development
Ionic vs flutter  best platform for hybrid app developmentIonic vs flutter  best platform for hybrid app development
Ionic vs flutter best platform for hybrid app developmentMarkovate
 

Similar to What's New on The Facebook Platform, October 2011 (20)

Enterprise Social Networking with Alfresco 4
Enterprise Social Networking with Alfresco 4Enterprise Social Networking with Alfresco 4
Enterprise Social Networking with Alfresco 4
 
Titanium @ Minnebar
Titanium @ MinnebarTitanium @ Minnebar
Titanium @ Minnebar
 
Hybrid app development
Hybrid app developmentHybrid app development
Hybrid app development
 
Mobile Web Dev
Mobile Web DevMobile Web Dev
Mobile Web Dev
 
"React Native" by Vanessa Leo e Roberto Brogi
"React Native" by Vanessa Leo e Roberto Brogi "React Native" by Vanessa Leo e Roberto Brogi
"React Native" by Vanessa Leo e Roberto Brogi
 
Native Application Development Company
Native Application Development CompanyNative Application Development Company
Native Application Development Company
 
Hire Ionic Developer to Build Cross-platform, Feature-rich, and most advanced...
Hire Ionic Developer to Build Cross-platform, Feature-rich, and most advanced...Hire Ionic Developer to Build Cross-platform, Feature-rich, and most advanced...
Hire Ionic Developer to Build Cross-platform, Feature-rich, and most advanced...
 
Mobile - trends, choices, plans
Mobile - trends, choices, plansMobile - trends, choices, plans
Mobile - trends, choices, plans
 
Best Interactive guide on Top 10 Mobile App Development Frameworks
Best Interactive guide on Top 10 Mobile App Development FrameworksBest Interactive guide on Top 10 Mobile App Development Frameworks
Best Interactive guide on Top 10 Mobile App Development Frameworks
 
Common Ionic Development Mistakes Developers Tend To Make!
Common Ionic Development Mistakes Developers Tend To Make!Common Ionic Development Mistakes Developers Tend To Make!
Common Ionic Development Mistakes Developers Tend To Make!
 
Arulpandiyan_Resume
Arulpandiyan_ResumeArulpandiyan_Resume
Arulpandiyan_Resume
 
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
Dan Appelquist at BBC News Labs : "firefoxOS - the web, mobile, web apps"
 
Nashville DevFest '17 - When To Go Native (Jonathan Wiley, LunarLincoln)
Nashville DevFest '17 - When To Go Native (Jonathan Wiley, LunarLincoln)Nashville DevFest '17 - When To Go Native (Jonathan Wiley, LunarLincoln)
Nashville DevFest '17 - When To Go Native (Jonathan Wiley, LunarLincoln)
 
React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why
 
React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why React native vs. ionic – which one is better and why
React native vs. ionic – which one is better and why
 
Ftstunit1
Ftstunit1Ftstunit1
Ftstunit1
 
User Interface Engineering (UIE) Web App Masters Tour 2011
User Interface Engineering (UIE) Web App Masters Tour 2011User Interface Engineering (UIE) Web App Masters Tour 2011
User Interface Engineering (UIE) Web App Masters Tour 2011
 
Liferay & Alfresco: Delivering Enterprise Content Through a Portal 02 August ...
Liferay & Alfresco: Delivering Enterprise Content Through a Portal 02 August ...Liferay & Alfresco: Delivering Enterprise Content Through a Portal 02 August ...
Liferay & Alfresco: Delivering Enterprise Content Through a Portal 02 August ...
 
Native vs HTML
Native vs HTMLNative vs HTML
Native vs HTML
 
Ionic vs flutter best platform for hybrid app development
Ionic vs flutter  best platform for hybrid app developmentIonic vs flutter  best platform for hybrid app development
Ionic vs flutter best platform for hybrid app development
 

What's New on The Facebook Platform, October 2011

  • 1. WHAT’S NEW ON THE FACEBOOK PLATFORM, OCTOBER 2011 Iskandar Najmuddin 19th October 2011 Facebook Developer Garage London SYNCAPSE | New York | Toronto | London | Portland 1 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 2. I {actioned} THIS {object} USING {app} SYNCAPSE | New York | Toronto | London | Portland 2 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 3. October 1st – The Modern FB Platform The HTTPS deadline for Canvas and Tab apps. • No SSL? No more users. Bye bye! • So check your Tabs, if you got „em. • Use the setAppProperties (REST API) to set secure URLs en-masse • FBML apps work, but check externally-loaded resources, avoid „mixed content‟ messages. OAuth 2.0 now enabled by default • Use PHP SDK >= 3.1.1 • Set oauth:true in FB JS SDK • Watch out for JS cookie vs. session „code‟ conflicts, though SYNCAPSE | New York | Toronto | London | Portland 3 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 4. Graph API Updates More methods, more objects • Manage Notifications • Manage Events • Read Friend Requests • Manage banned App users • Manage App migrations • Set App restrictions • Read Game Achievements Any reasons left to use the REST API? SYNCAPSE | New York | Toronto | London | Portland 4 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 5. New Auth Dialog Allows users to decline permissions individually. This is great for everyone! Apps should now • Validate user permissions before attempting an action • Gracefully handle failures due to missing permissions What to do • Use the Graph API to check permissions and FB.login to request missing ones. • Or use the Real-Time API to cache existing permissions for each user. • Use new Insights to see which permissions get rejected and tune your app accordingly. • Check out Authenticated Referrals: Automatic permissions when users come to your app from FB. SYNCAPSE | New York | Toronto | London | Portland 5 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 6. New Auth Dialog Example SYNCAPSE | New York | Toronto | London | Portland 6 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 7. Timeline is The New Profile See ALL of your Facebook activity over time. • Add historical events and content. • Check-in mapping. • More expression • Highlight Timeline Stories • Use clever Cover images • And Application Content too! • Available for Developers now, but not fully launched yet. SYNCAPSE | New York | Toronto | London | Portland 7 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 8. Ticker is a Firehose The Ticker is a near-real-time firehoseof connection activity stories. • Perfect for light touch, „trivial‟ content. • Is this where those damn Farmville stories belong? • Apps can Publish Stories to the Ticker without user confirmation. SYNCAPSE | New York | Toronto | London | Portland 8 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 9. Ticker | Graph Rank = News Feed Some stories will be promoted to the News Feed, if the Graph Rank AI deems them worthy. Ticker Story News Feed Graph Rank Worthy? Full Story International AI of Mystery SYNCAPSE | New York | Toronto | London | Portland 9 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 10. Requests 2.0 Updates “Friction-less” requests can skip confirmation dialog. • But only if all the „to‟ UIDs have been approved by the user at least once. Breaking Change: Callback response data structure changed to contain array of UIDs in the to property. January 1, 2012 - existing apps will be opted into the Request 2.0 migrations! SYNCAPSE | New York | Toronto | London | Portland 10 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 11. Cloud Service Integration The first provider: Heroku Clickyclickyclicky – now you have a hosted app running in that there cloud. Heroku supports: • PHP (warning: docs are sparse) • Node.js • Python • Ruby $ git push origin master … heroku does some magic … And now your app is updated Free for low-traffic apps! SYNCAPSE | New York | Toronto | London | Portland 11 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 12. Mobile Web Apps Bookmarking, Requests, all work nicely. • But still no Page Tabs anywhere Mobile. Native Facebook apps (iOS, Android) know to open your app as: 1. Native Mobile or 2. Mobile Web Credits on Mobile supported, but not in native iOS apps (thanks a lot, iTunes) Your Mobile Web app will work inside the Facebook Native App chrome. SYNCAPSE | New York | Toronto | London | Portland 12 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 13. Mobile Web Apps – Basic Auth Dialog In the iPad Facebook App: SYNCAPSE | New York | Toronto | London | Portland 13 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 14. Mobile Web App - Example In the iPad Facebook App: SYNCAPSE | New York | Toronto | London | Portland 14 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 15. OPEN GRAPH BETA SYNCAPSE | New York | Toronto | London | Portland 15 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 16. Open Graph Beta What’s it about? From https://developers.facebook.com/docs/beta/ “With the Open Graph, your app becomes a part of the user‟s identity and social graph. Through a single API, you‟re able to deeply integrate into the key points of distribution on Facebook: Timeline, App Views, News Feed, and Ticker. … With the Open Graph, you‟ll be able to create a deep, persistent connection between you and your users, and drive new users to your app.” SYNCAPSE | New York | Toronto | London | Portland 16 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 17. Open Graph Beta Say What? For Developers • Invent new ways for users to interact with your content. • Lots of new methods to raise app visibility. • More connections, more data = more WIN! But note • It‟s all beta, baby • When do Custom Actions launch? undefined Oh No! Matt throws Dan out the window SYNCAPSE | New York | Toronto | London | Portland 17 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 18. Open Graph Beta Nodes and Lines Objects are Nodes • Facebook own their Social Graph Nodes • Users, Pages, Groups, Events, etc • You can create your own Nodes Actions are Lines • AKA Edges or Connections • Facebook own some Actions • Like, Recommend, Friend, etc • You can create your own Actions You can now connect Nodes together using your own Actions. SYNCAPSE | New York | Toronto | London | Portland 18 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 19. Open Graph, not so long ago • Create your own Objects • Use Facebook‟s Object Types or define your own • Social Graph users can do • Facebook-defined actions on your Objects. SYNCAPSE | New York | Toronto | London | Portland 19 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 20. Open Graph, today • Create your owndetailed Object Types and Actions in your app Namespace. • Social Graph users can do • Facebook-defined actions on your Objects • Custom actions on your Objects • Custom actions on Facebook-defined Objects SYNCAPSE | New York | Toronto | London | Portland 20 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 21. Get Started – The Open Graph Dashboard Click on the Open Graph link in the App Settings menu. Create and manage Actions, Object Types, and Aggregations. But there is NO API access for any of this yet, so get ready for lots of browser- driving  SYNCAPSE | New York | Toronto | London | Portland 21 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 22. Set up Custom Object Types 1. Name it 2. Add custom properties 3. Inflect it SYNCAPSE | New York | Toronto | London | Portland 22 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 23. Custom Object – Creating an instance Tweak your OG metadata 1. Add prefix namespaces to the head element 2. Add your app namespace to the og:typemeta content <head prefix="og: http://ogp.me/ns# my_ns: http://ogp.me/ns/apps/my_ns#"> <meta property="fb:app_id" content="278839975471035"/> <meta property="og:locale" content="en_US" /> <meta property="og:title" content="Pineapple Pizza Slice" /> <meta property="og:type" content="my_ns:pizza_slice" /> <meta property="og:image" content="http://domain/pineapple-pizza-slice.jpg" /> <meta property="og:url" content="http://domain/pineapple-pizza-slice" /> <meta property="og:description" content="Cheese and fruit, a tropical sensation" /> <meta property="og:site_name" content="FDGL October 2011 App" /> snip SYNCAPSE | New York | Toronto | London | Portland 23 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 24. Set up Custom Actions Use the massive UI in the Facebook Developer App. It‟s seriously huge. Custom Actions will need to be submitted and approved by Facebook • FB have proposed a 48-hour turnaround • Positive actions preferred (so probably no Unlike action, sorry!) SYNCAPSE | New York | Toronto | London | Portland 24 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 25. Set up Aggregations 1. Choose the type of data to Display and the linked Action. 2. Choose a Style 3. Set up sorting and captions 4. Preview SYNCAPSE | New York | Toronto | London | Portland 25 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 26. Set up Aggregation Previews Users will see Aggregation Previews in the Auth Dialog. 1. Create Preview Objects • These are just dummy Objects for presentation 2. Create Preview Actions • Link Actions to Preview Objects SYNCAPSE | New York | Toronto | London | Portland 26 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 27. Aggregation Example Aggregations show on a user‟s Timeline after they have completed at least 6 actions. SYNCAPSE | New York | Toronto | London | Portland 27 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 28. Custom Actions – Creating an instance Get publish_actions permission from the user. Create an Action instance: Graph API & JS SDK varurl = ‘/me/my_app_ns:action_id?object_type=https://object/opengraph/url’; FB.api(url, 'post', function(response) { console.log(response); }); A Real-ish Example: POST /me/my_ns:chow_down_on?pizza_slice=http://domain/pineapple-pizza-slice SYNCAPSE | New York | Toronto | London | Portland 28 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 29. Custom Actions – Where do they show? • Ticker & Ticker Fly-Out • News Feed • If promoted from the Ticker • Timeline – Feed Stories • If recent and not yet aggregated • Timeline – Featured Stories • If user chooses to highlight the story • Timeline – Recent Activity • If app used frequently/recently (unclear) • Timeline – Aggregations • If > 6 Actions taken by the user Let‟s have a look! SYNCAPSE | New York | Toronto | London | Portland 29 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 30. Custom Actions, Ticker & Fly-out SYNCAPSE | New York | Toronto | London | Portland 30 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 31. Custom Actions in News Feed This story was aggregated, nice. SYNCAPSE | New York | Toronto | London | Portland 31 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 32. Custom Actions on Timeline: Feed Stories Multiple Actions A Single Action SYNCAPSE | New York | Toronto | London | Portland 32 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 33. Custom Actions on Timeline: Featured Story Users can choose to Feature a story on their Timelines. I love pizza. SYNCAPSE | New York | Toronto | London | Portland 33 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 34. Custom Actions on Timeline: Recent Activity SYNCAPSE | New York | Toronto | London | Portland 34 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 35. Custom Actions on Timeline: Aggregations SYNCAPSE | New York | Toronto | London | Portland 35 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 36. Open Graph Beta In Use By Lots of Media partners: • Netflix • Spotify • The Guardian • The Independent • Yahoo! • And others See more here: https://developers.facebook.com/showcase/ SYNCAPSE | New York | Toronto | London | Portland 36 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 37. IMPORTANT BREAKAGES AND DATES SYNCAPSE | New York | Toronto | London | Portland 37 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 38. Roadmapping FBML Hell to End. JOY! • No bugfixes after Jan. 1st 2012 – Except for security fixes • All FBML endpoints smashed by sledgehammers on June 1st 2012 Other dates • Nov. 1st, 2011: manage_notifications permission required to, yes, manage notifications • Dec. 1st, 2011: Dashboard APIs shut down & App Bookmark URL removed • Jan. 1st, 2012 – FB.Data JS SDK APIs removed – FB.Canvas.setAutoResize renamed to FB.Canvas.setAutoGrow – Apps auto-migrated to Requests 2.0 • Feb. 1st, 2012: canvas_name removed from App properties in favor of namespace SYNCAPSE | New York | Toronto | London | Portland 38 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
  • 39. IF I TALKED REALLY FAST, WE MAY HAVE TIME FOR QUESTIONS. DO WE? And see you next time! Ask me about social media, technology, or eggs: • i.najmuddin@syncapse.com • twitter.com/iskandar • +44(0)207.096.0146 SYNCAPSE | New York | Toronto | London | Portland 39 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.

Editor's Notes

  1. Use me!
  2. Use me!
  3. Use me!
  4. Use me!
  5. Use me!
  6. Use me!
  7. Use me!
  8. Use me!
  9. Use me!
  10. Use me!
  11. Use me!
  12. Use me!
  13. Use me!
  14. Use me!
  15. Use me!
  16. Use me!
  17. Use me!
  18. Use me!
  19. Use me!
  20. Use me!
  21. Use me!
  22. Use me!
  23. Use me!
  24. Use me!
  25. Use me!
  26. Use me!
  27. Use me!
  28. Use me!
  29. Use me!
  30. Use me!
  31. Use me!
  32. Use me!
  33. Use me!