What's New on the Facebook Platform, November 2011

1,803 views
1,745 views

Published on

Chchchanges - not many really. Graph API getting more and more useful!

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

  • Be the first to like this

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

No notes for slide
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • What's New on the Facebook Platform, November 2011

    1. 1. WHAT’S NEW ON THE FACEBOOKPLATFORM, NOVEMBER 2011Iskandar Najmuddin16th November 2011Facebook Developer Garage LondonSYNCAPSE | New York | Toronto | London | Portland 1All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    2. 2. FACEBOOK GRAPH API IS AN ANAGRAM FOR Bio Appear, Hack Fog1 1. In case you were wonderingSYNCAPSE | New York | Toronto | London | Portland 2All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    3. 3. App Reviews GoneReviews and Discussion Tabs are no more!• Low Signal:Noise• Same content works on Walls • No pre-Like requirement for posting or commenting• Users don’t browse apps at all – Directory is long-dead • Social discovery alone is enough?“Weve found that the best way to encourage conversation and feedback is throughposts and comments on your Wall, so were removing the Reviews and Discussionstabs for now.”- https://www.facebook.com/help/?faq=254646391237470SYNCAPSE | New York | Toronto | London | Portland 3All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    4. 4. Read ‘Recent Activity’Get stories “not intentionally generated by users”.What does that even mean?• Includes some Ticker stories: • X became friends with Y & Z • X liked A & B• No Open Graph Beta actions, however.• Data also available via FQL • See the stream tableEnable the migration to get started:SYNCAPSE | New York | Toronto | London | Portland 4All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    5. 5. ‘Recent Activity’ Posts Post dataExample Graph API endpoints: {• /me/home id: “123123123_10150421999553217", from: {name: "Todd Chaffee",id: “123123“},• /UID/feed story: "Todd Chaffee likes a link.", story_tags: {0: [{• /UID/posts id: 123123, name: "Todd Chaffee",• /POST_ID offset: 0, length: 12}]}, picture: url, link: "http://facebookgarage.co.uk/",Polymorphic Post objects name: “Facebook Developer Garage London", description: “Pizza and beer, we love them",• story member instead of message icon: url, actions: snip,type: "link",• story_tags format identical to application: appinfo, message_tags created_time: date,updated_time: date, comments: {count: 0} } SYNCAPSE | New York | Toronto | London | Portland 5 All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    6. 6. Read QuestionsUse New Extended Permissions• user_questions&friends_questionsRead Questions posted by User or Page via:• FQL• Graph APIBut!• No way to create Questions.• No data on who voted what.SYNCAPSE | New York | Toronto | London | Portland 6All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    7. 7. Question DataExample Graph API endpoints:• /UID/questions• /PAGE_ID/questions Question data { id: "10150187368523217", from: {name: "Todd Chaffee",id: “123123123"}, question: "Have you posted a Facebook question yet?", created_time: DATE,updated_time: DATE, options: {data: [ {id: "208816992471354",from: { name: "Todd Chaffee",id: “123123123" },name: "No",votes: 4,created_time: DATE }, { id: "220590734621754",from: { name: "Todd Chaffee",id: “123123123" },name: "Yes",votes: 3,created_time: DATE } ],paging: {next: URL} } }SYNCAPSE | New York | Toronto | London | Portland 7All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    8. 8. Get Location data from PostsIf a Post has a linked Place, you can now read that data!• Place data similar to that from /UID/checkinsendpoint.• Now easier than ever to make map mash-ups with FB data! Place data {"place": { "id": "94131184662", "name": "Toronto Pearson International Airport", "location": { "city": "Toronto", "state": "ON", "country": "Canada", "zip": "L5P 1B2", "latitude": 43.682564592758, "longitude": -79.616179866991 } } }SYNCAPSE | New York | Toronto | London | Portland 8All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    9. 9. Unified Messaging API UpdatesBack-end changes will be made on Nov. 30th to:• FQL tables: thread, message, mailbox_folder • Useunified_thread&unified_messageinstead• REST API method: message.getThreadsInFolder• Graph API endpoints: /me/inbox, /me/outbox, /me/updatesSYNCAPSE | New York | Toronto | London | Portland 9All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    10. 10. Delivering Unified MessagingAck! What do I do?You may want to:• Use timestamps for paging instead of offsets.• Allow for massively long threads.• Remove references to the updates message folder.• Avoid Panic: No date yet for final removal of old API calls & FQL tables.• Test your Message-y apps with the migration “New mailbox backend”SYNCAPSE | New York | Toronto | London | Portland 10All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    11. 11. Other Stuff { "from": {• New “Marketing API Program” to become "name": "Mark Zuckerberg", "id": "4" umbrella for Platform & Developer support. }, "created_time": DATE, "to": { "name": "IskandarNajmuddin",• Read Friend Requests via Graph API "id": "123123123" }}• Comments Plugins to be auto-upgraded. No action requiredTimeline Timelines• Test users now have Timeline.• Officially missing: • Date for full launch! • Answer for “Will Pages get Timeline?”SYNCAPSE | New York | Toronto | London | Portland 11All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    12. 12. IMPORTANT BREAKAGES AND DATESSYNCAPSE | New York | Toronto | London | Portland 12All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    13. 13. Breaking ChangesDecember 1st• OAuth spec migration: • Change code_and_token=>code%20token• FB.Canvas.getPageInfo requires callback function argument: FB.Canvas.getPageInfo(function(info) { alert(Width: + info.clientWidth + Height: + info.clientHeight); });• Dashboard APIs gone• Bookmark URL gone: Detect ref=bookmarks in your app insteadOther bits• Nov 30th: Unified Messaging back-end API updates• Batch API Exception Format (a migration) • Errors can now return standard Graph API format: {"error": {"message": "", "type": ""}}SYNCAPSE | New York | Toronto | London | Portland 13All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    14. 14. New Preferred Developer Consultant IntakePDC Program mission“To support development companies that can provide integrated and holisticPlatform, Pages, and Ads solutions to Facebook marketing and businessoperations”• About 90 existing PDC members• Get increased access to FB employees and training• Deadline is 5PM PST on Dec. 6thFind out more here:https://developers.facebook.com/preferreddevelopersSYNCAPSE | New York | Toronto | London | Portland 14All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.
    15. 15. THIS IS THE LAST SLIDESee you in 2012! Unless the Mayans were correct and we’re doomed. In which case,goodbye and farewell. It was fun.Ask me about social media, technology, or Super Streetfighter IV Ultra-Combos:• i.najmuddin@syncapse.com• twitter.com/iskandar• +44(0)207.096.0146SYNCAPSE | New York | Toronto | London | Portland 15All materials contained within this presentation are copyright Syncapse Corp. 2011. Reproduction or distribution is prohibited.

    ×