What’s New on The Facebook Platform <ul><li>Iskandar Najmuddin </li></ul><ul><li>20 th  April 2011 </li></ul><ul><li>Faceb...
 
<ul><li>99 PROBLEMS BUT A BATCH AIN’T ONE </li></ul><ul><li>Combine multiple API operations in a single request </li></ul>...
<ul><li>99 PROBLEMS BUT A BATCH AIN’T ONE </li></ul><ul><li>POST to  https://graph.facebook.com  with a JSON-encoded array...
<ul><li>COMMENT </li></ul><ul><li>Comments now include OG metadata in feed story </li></ul><ul><ul><li>Get your OpenGraph ...
<ul><li>OLD OUT, NEW IN </li></ul><ul><li>New Feed Story </li></ul><ul><li>Comment Updates </li></ul>Old Feed Story 1 1. O...
<ul><li>CREDITORS </li></ul><ul><li>Credits Updates </li></ul><ul><li>July 1 st , 2011 is still C-Day </li></ul><ul><li>Al...
<ul><li>SECURE TABS </li></ul><ul><li>HTTPS </li></ul><ul><li>Now configurable for Page Tabs </li></ul><ul><ul><li>Set you...
<ul><li>AND OTHER BITS </li></ul><ul><li>Other Updates </li></ul><ul><li>FBML apps are dead – no new ones </li></ul><ul><u...
<ul><li>AND OTHER OTHER BITS </li></ul><ul><li>More Other Updates </li></ul><ul><li>Events connection & event member data ...
Iskandar Najmuddin Technical Services Director Syncapse [email_address] twitter.com/iskandar +44.207.096.0146 Thank You Yo...
Upcoming SlideShare
Loading in …5
×

What's New on the Facebook Platform, April 2011

1,736 views
1,677 views

Published on

Slides from a quick spin through new stuff on the Facebook Platform for May 2011

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,736
On SlideShare
0
From Embeds
0
Number of Embeds
732
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • How many developers here? How many clients or agencies?
  • Should be easy to re-use existing Iframe apps for rich ‘Tab’ functionality
  • Should be easy to re-use existing Iframe apps for rich ‘Tab’ functionality
  • Should be easy to re-use existing Iframe apps for rich ‘Tab’ functionality
  • Should be easy to re-use existing Iframe apps for rich ‘Tab’ functionality
  • Anyone using Deals yet? Anyone using the Registration Plugin? How is it going?
  • Anyone using Deals yet? Anyone using the Registration Plugin? How is it going?
  • What's New on the Facebook Platform, April 2011

    1. 1. What’s New on The Facebook Platform <ul><li>Iskandar Najmuddin </li></ul><ul><li>20 th April 2011 </li></ul><ul><li>Facebook Developer Garage London </li></ul><ul><li>Facebook Developer Garage London </li></ul>
    2. 3. <ul><li>99 PROBLEMS BUT A BATCH AIN’T ONE </li></ul><ul><li>Combine multiple API operations in a single request </li></ul><ul><li>Can combine: </li></ul><ul><ul><li>Different HTTP methods (GET, POST, PUT, DELETE) </li></ul></ul><ul><ul><li>Different access_tokens </li></ul></ul><ul><li>Can upload files </li></ul><ul><li>Can’t batch REST API methods - except for fql.[multi]query </li></ul><ul><li>Doesn’t have all-or-nothing mode; not transactional </li></ul><ul><li>May be executed in arbitrary order – so specify dependencies </li></ul><ul><li>Max of 20 operations per Batch </li></ul><ul><li>Graph API Batching </li></ul>
    3. 4. <ul><li>99 PROBLEMS BUT A BATCH AIN’T ONE </li></ul><ul><li>POST to https://graph.facebook.com with a JSON-encoded array of API calls, described like this: </li></ul><ul><li>{ </li></ul><ul><ul><li>method : &quot;GET&quot; , // Required </li></ul></ul><ul><ul><li>relative_url : &quot;me/friends&quot; , // Required </li></ul></ul><ul><ul><li>access_token : &quot;TOKEN&quot; , // Optional </li></ul></ul><ul><ul><li>name : &quot;optional_name&quot; , // Optional </li></ul></ul><ul><ul><li>depends_on : &quot;other_name&quot; , // Optional </li></ul></ul><ul><ul><li>body : &quot;key=value&quot; , // Optional </li></ul></ul><ul><ul><li>attached_files : &quot;file1,file2” // Optional </li></ul></ul><ul><li>} </li></ul><ul><li>See http://developers.facebook.com/docs/api/batch/ </li></ul><ul><li>Graph API Batching </li></ul><ul><li>How do you use it? </li></ul>
    4. 5. <ul><li>COMMENT </li></ul><ul><li>Comments now include OG metadata in feed story </li></ul><ul><ul><li>Get your OpenGraph metadata correct! </li></ul></ul><ul><ul><li>Much more Feed impact now than before – on par with Like actions </li></ul></ul><ul><li>New Perma-links – click on the timestamp </li></ul><ul><li>Get Comments based on the OG URL: </li></ul><ul><ul><li>https://graph.facebook.com/comments/?ids={YOUR_URL} </li></ul></ul><ul><li>All Comment Plugins will be migrated on April 29th, 2011 </li></ul><ul><ul><li>Add a migrated=“1” attribute to migrate early </li></ul></ul><ul><li>This migration also includes a change to comment ordering </li></ul><ul><ul><li>New order is by “social relevance” instead of chronology </li></ul></ul><ul><li>Users can now login using Hotmail accounts </li></ul><ul><ul><li>Really. But why? </li></ul></ul><ul><li>Comment Updates </li></ul>
    5. 6. <ul><li>OLD OUT, NEW IN </li></ul><ul><li>New Feed Story </li></ul><ul><li>Comment Updates </li></ul>Old Feed Story 1 1. Old Feed Story from http://www.insidefacebook.com/2011/04/12/comments-box-exporting-hotmail/
    6. 7. <ul><li>CREDITORS </li></ul><ul><li>Credits Updates </li></ul><ul><li>July 1 st , 2011 is still C-Day </li></ul><ul><li>All Game developers must process all payments through FB Credits. </li></ul><ul><li>Games that use Credits as exclusive in-game currency get incentives: </li></ul><ul><li>Frictionless Payments </li></ul><ul><li>Buy with Friends </li></ul><ul><li>getBalance API </li></ul><ul><li>Also: </li></ul><ul><li>A new How-To 1 </li></ul><ul><li>More and better docs </li></ul><ul><li>FB is working hard to avoid </li></ul><ul><li>a July 1 st backlash! </li></ul>1. http://developers.facebook.com/blog/post/489
    7. 8. <ul><li>SECURE TABS </li></ul><ul><li>HTTPS </li></ul><ul><li>Now configurable for Page Tabs </li></ul><ul><ul><li>Set your Secure Tab URL </li></ul></ul><ul><li>If user switches out of HTTPS mode, they’ll return to it automatically </li></ul><ul><li>9.6 million users already using HTTPS 1 </li></ul>1. http://developers.facebook.com/blog/post/491
    8. 9. <ul><li>AND OTHER BITS </li></ul><ul><li>Other Updates </li></ul><ul><li>FBML apps are dead – no new ones </li></ul><ul><ul><li>But legacy FBML apps live on and want to eat your brain </li></ul></ul><ul><li>No whitelist needed to embed videos in the News Feed </li></ul><ul><ul><li>Use OG metadata to control feed story content </li></ul></ul><ul><li>Access per-post impressions via stream FQL table </li></ul><ul><ul><li>Requires read_insights extended permission </li></ul></ul><ul><li>Suppress automatic Facebook Photos Feed story on photo upload </li></ul><ul><ul><li>Send no_story=1 with your API call </li></ul></ul><ul><li>Gone: year and status properties of affiliations column in user FQL table </li></ul><ul><ul><li>As of April 18 th </li></ul></ul><ul><li>Check out the pretty new Policy Checklist </li></ul><ul><ul><li>http://developers.facebook.com/docs/guides/policy/policy_checklist/ </li></ul></ul>
    9. 10. <ul><li>AND OTHER OTHER BITS </li></ul><ul><li>More Other Updates </li></ul><ul><li>Events connection & event member data returns last 2 weeks by default </li></ul><ul><li>JS SDK Niceties </li></ul><ul><li>Let’s you position dialogs, do stuff </li></ul><ul><li>FB.Canvas.getPageInfo() </li></ul><ul><ul><li>returns clientHeight, clientWidth, offsetLeft, offsetTop, scrollLeft, and scrollTop </li></ul></ul><ul><li>FB.Canvas.scrollTo(x, y) </li></ul><ul><ul><li>scroll to a specific place in your iframe </li></ul></ul>
    10. 11. Iskandar Najmuddin Technical Services Director Syncapse [email_address] twitter.com/iskandar +44.207.096.0146 Thank You You got questions, I got answers. Maybe.

    ×