What's New on the Facebook Platform, February 2012
1. WHAT’S NEW ON THE FACEBOOK
PLATFORM, FEBRUARY 2012
Iskandar Najmuddin
16th February 2012
Facebook Developer Garage London
SYNCAPSE | New York | Toronto | London | Portland 1
All materials contained within this presentation are copyright Syncapse Corp. 2012.
2. THIS SLIDE IS BLANK.
OR IS IT?
SYNCAPSE | New York | Toronto | London | Portland 2
All materials contained within this presentation are copyright Syncapse Corp. 2012.
3. Improved Auth Dialog
Will be turned on for ALL apps on March 1st (previously Feb. 15th)
A) The Default Dialog
• New Headline & Description
• Default privacy option
• Timeline info area
SYNCAPSE | New York | Toronto | London | Portland 3
All materials contained within this presentation are copyright Syncapse Corp. 2012.
4. Improved Auth Dialog
B) The Extended Permissions Dialog
• A Second, Separate Dialog
• Granular Permissions
SYNCAPSE | New York | Toronto | London | Portland 4
All materials contained within this presentation are copyright Syncapse Corp. 2012.
5. Offline Access Deprecation
Before:
Ask for the offline_access extended permission and
• make API calls using the access_token for ages
Now:
• Extend a valid access_token for 60 days
https://graph.facebook.com/oauth/access_token?client_id=APP_ID
&client_secret=APP_SECRET&grant_type=fb_exchange_token&
fb_exchange_token=EXISTING_ACCESS_TOKEN
Notes
• Opt-in App Migration available now
• Migration applied to all apps on May 1st
• You can’t automatically re-extend tokens
• An auth code is required for server-side extension
SYNCAPSE | New York | Toronto | London | Portland 5
All materials contained within this presentation are copyright Syncapse Corp. 2012.
6. Create FB Questions via Graph API
You can post on behalf of:
A User
• Needs publish_stream permission and a User access_token
A Page
• Needs manage_pages permission and a Page access_token
curl -F 'access_token=PAGE_TOKEN’
-F 'question=What is your favorite color?'
-F ‘allow_new_options=true’
-F ‘options=[‚Blue‛,‛Red‛,‛Green‛,‛Walrus‛]
https://graph.facebook.com/PAGE_ID/questions
SYNCAPSE | New York | Toronto | London | Portland 6
All materials contained within this presentation are copyright Syncapse Corp. 2012.
7. Read Subscribers & Subscriptions
Get Users that have subscribed to an Object:
https://graph.facebook.com/USER_ID/subscribers?access_token=...
Get Objects a User has Subscribed to:
https://graph.facebook.com/USER_ID/subscribedto?access_token=...
Related Permissions:
• user_subscriptions
• friends_subscriptions
SYNCAPSE | New York | Toronto | London | Portland 7
All materials contained within this presentation are copyright Syncapse Corp. 2012.
8. Post to Past in Timeline
Just set start_time for posts in the past
POST /me/fdgl_demo:chow_down_on?pizza_slice=http://fdgl-
demo.com/objects/mushroom-pizza-slice&start_time=1999-12-31T23:59:59+0000
SYNCAPSE | New York | Toronto | London | Portland 8
All materials contained within this presentation are copyright Syncapse Corp. 2012.
9. Other Updates
Pay Dialog
• New action parameter
• Buy $1, get $4 free!
Ads API
Use Action Specs to create Featured Stories
• Supports Open Graph activity
• More flexible than query templates
• Action Specs also used for Ad Targeting
Page Insights: Lots removed on Feb. 15th
https://developers.facebook.com/docs/reference/fql/insights/
Test Users
Can now manually set password – crucial for mobile testing
SYNCAPSE | New York | Toronto | London | Portland 9
All materials contained within this presentation are copyright Syncapse Corp. 2012.
10. THIS IS THE LAST SLIDE
OR IS IT?
Ask me about social media, technology, or Skyrim Mods:
• i.najmuddin@syncapse.com
• twitter.com/iskandar
• +44(0)207.096.0146
SYNCAPSE | New York | Toronto | London | Portland 10
All materials contained within this presentation are copyright Syncapse Corp. 2012.