What's New on The Facebook Platform, January 2011


Published on

Quick talk about what's new on the Facebook Platform, as presented at the Facebook Developer Garage London on Jan 19th 2011

Published in: Technology
  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

What's New on The Facebook Platform, January 2011

  1. 1. What’s New on the Facebook Platform<br />Iskandar Najmuddin<br />19th January 2011<br />Facebook Developer Garage London<br />Facebook Developer Garage London<br />
  2. 2. Are you sitting comfortably?<br />
  3. 3. What’s New on the FB Platform Jan 2011<br />Uh-oh, problems with Data Brokers and aggregators.<br />Sale of UIDs - but no actual user data. UIDs are not private data.<br />Rapleaf banned from FB platform (forever!)<br />A handful of developers banned from FB communication channels for 6 months.<br />The 3rd Party ID is for sharing with 3rd parties like content providers and advertisers so that they can identify uniqueness.<br />Forced deadline of Jan 31<br />Available as third_party_idintheGraph API; also as indexable FQL column.<br />third_party_idis unique to user + application<br />3rd Party IDs<br />
  4. 4. What’s New on the FB Platform Jan 2011<br />November 2010 Rollup Migration<br />Page Graph object: fan_count renamed to likes.<br />All IDs returned as strings, fixes some JSON-decode casting issues.<br />likesconnection on the Post object will include both the count and the liking users.<br />Enabled by default, and forced on for all apps on March 10, 2011<br />Timezone-less Events<br />Bug #7210 open since October 2009, resolved in a migration, hooray!<br />Events can now return UTC start and end times:E.g.2010-03-14T21:00:00+0000<br />Post for Canvas<br />Facebook’s solution to refererUID leakage.<br />Out of beta, enabled by default, forced on on March 10<br />Migrations<br />
  5. 5. What’s New on the FB Platform Jan 2011<br />On Jan 31st, farewell to:<br />DataStore API<br />SMS API<br />Custom Tags<br />metrics FQL table (use insights instead)<br />Permissions API access methods<br />FBML - fb:editor, fb:wall, fb:feed (fb:board also doomed)<br />But pages.blockFanremains.<br />See http://developers.facebook.com/roadmap/deprecations<br />Deprecations<br />
  6. 6. What’s New on the FB Platform Jan 2011<br />Can now change og:type before hitting 10,000 likes<br />Lots more og:types available<br />Facebook continues crowd-sourcing an ontology<br />og:video, og:audiotags now enabled<br />Only whitelisted for video (FLV) to play in feed<br />Can specify width/height, and artist/album/title data for audio (MP3)<br />Tip: Use correct type values for physical objects. If you use article, you won’t have publishing rights and won’t appear on a user’s profile.<br />OpenGraph changes<br />
  7. 7. What’s New on the FB Platform Jan 2011<br />Manage Friend Lists<br />Create and delete lists<br />Add/remove friends from lists<br />Needs manage_friendlists permission<br />Comment connections for ‘likes’<br />Get list of User names and IDs<br />Real-time API for pages, permissions<br />Update your app’s Page data when it changes<br />If Users remove permissions, update your app to avoid bogus offline API calls.<br />Graph API updates<br />
  8. 8. What’s New on the FB Platform Jan 2011<br />Search parameters:<br />query<br />centre (as latitude/longitude) <br />radius (in meters)<br />Example:<br />https://graph.facebook.com/search?q=coffee&type=place&center=37.76,122.427&distance=1000<br />Response:<br />{"data": [{"name": "Philz Coffee","category": "Local business","location": {"street": "4023 18th St","city": "San Francisco","state": "CA","country": "United States","zip": "94114-2501","latitude": 37.760863,"longitude": -122.433326},"id": "151116474914629"},{"name": "Ritual Coffee Roasters","category": "Local business","location": {"latitude": 37.75659,"longitude": -122.4211},"id": "119185971453428"} ... etc]}<br />Nearest Places Search<br />
  9. 9. What’s New on the FB Platform Jan 2011<br />Targeted Post content will only be visible to users matching your targeting.<br />Via Graph API – use the targetingJSON object:<br />{"countries": "US","regions": "6,53","locales": "6"}<br />Country, city, region, and locale data available as CSVs from Facebook.<br />Needs manage_pages permission<br />Targeted Page Posts<br />
  10. 10. What’s New on the FB Platform Jan 2011<br />Create & delete users, create friend connections<br />Must use the special Application Access token<br />Max of 100 Test Users per application<br />Exempt from Facebook spam or fake account detection system<br />Can’t ‘Like’ pages or post on Page walls<br />Can use app in live or sandbox mode<br />Create a user with the app already installed and read_stream permission:<br />POST /app_id/accounts/test-users?installed=true&permissions=read_stream<br />Response:<br />{"id": "1231....","access_token": "1223134...","login_url": "https://www.facebook.com/platform/test_account.."}<br />Use the login_urlto login as this test user and the access_token for Graph API calls.<br />Test User API<br />
  11. 11. What’s New on the FB Platform Jan 2011<br />Connect two test users<br />Requires two Graph API calls:<br />POST /uid1/friends/uid2 <br />Using the access_token for uid1<br />POST /uid2/friends/uid1<br />Using the access_token for uid2<br />You can also:<br />List all of an app’s Test Users (including each login_url)<br />Delete Test Users<br />Test User API<br />
  12. 12. What’s New on the FB Platform Jan 2011<br />Platform Dialogs have been normalised and improved for<br />Feed, Friend and OAuth methods<br />Using the JS SDK, FB.ui({ method: “method”, … ]); <br />Direct URL: http://www.facebook.com/dialog/method/?params<br />Where method is one of:<br />feed<br />friends<br />oauth<br />See docs for detailed params: http://developers.facebook.com/docs/reference/dialogs<br />New Dialogs with FB.ui<br />
  13. 13. What’s New on the FB Platform Jan 2011<br />Let users sign up to your external website via a Facebook iFrame<br />Pre-fill user details from Facebook data<br />Data returned to your site via a signed_request<br />Registration Plugin<br />
  14. 14. What’s New on the FB Platform Jan 2011<br />Q1 2011 – iFrame Page Tabs on the way, we are told.<br />Q1 2011 – No new FBML applications. FBML on Profile Tabs and existing FBML apps continue to work as normal.<br />Jan 31st – Deprecations forced<br />Feb 2011 – Old test user accounts ‘retired’<br />Roadmap<br />
  15. 15. What’s New on the FB Platform Jan 2011<br />Other new permissions<br />read_mailbox – read inbox messages.<br />user_address and user_mobile_phone permissions – but disabled due to outpouring of negative press and user feedback.<br />And finally<br />Single-Sign On added to iOSSDK<br />New list of ad providers that have signed agreements w/ Facebook.<br />Promotion policies changed – no need for written sign-off from FB.<br />App requests in notifications area being tested.<br />Facepile now XBML and iFrameenabled.<br />Handy new ‘Apps on Facebook.com’ guide for n00bs.<br />Goodbye, User Profile Tabs. We knew thee well.<br />Miscellaneous Bits<br />
  16. 16. Thank You<br />Ask me stuff at the break<br />Iskandar Najmuddin<br />Technical Services Director<br />Syncapse London<br />i.najmuddin@syncapse.com<br />twitter.com/iskandar<br />020 7096 0146<br />