What's New on the Facebook Platform, March 2012
Upcoming SlideShare
Loading in...5
×
 

What's New on the Facebook Platform, March 2012

on

  • 1,417 views

OMG Facebook Timeline for Pages! Some notes on how to use recent updates to the Facebook Platform.

OMG Facebook Timeline for Pages! Some notes on how to use recent updates to the Facebook Platform.

Statistics

Views

Total Views
1,417
Views on SlideShare
1,417
Embed Views
0

Actions

Likes
0
Downloads
5
Comments
2

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

12 of 2

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • Use me!
  • 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, March 2012 What's New on the Facebook Platform, March 2012 Presentation Transcript

  • WHAT’S NEW ON THE FACEBOOKPLATFORM, MARCH 2012Iskandar Najmuddin21st March 2012Facebook Developer Garage LondonSYNCAPSE | New York | Toronto | London | Portland 1All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • TIMELINE FOR PAGESSYNCAPSE | New York | Toronto | London | Portland 2All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Timeline for Pages!!!1!oneA big deal for brands, marketers, and others in Facebook.Timeline includes:•Cover photo•Milestones (aka Life Events)•Direct Messaging with Users•Featured & Pinned Posts•Page Apps (aka Tabs)•Better admin panel•Activity Log•LOTS!SYNCAPSE | New York | Toronto | London | Portland 3All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: Attributes & Cover PhotoFirst you’ll need manage_pages Permission and a Page Access TokenUpdate: POST /PAGE_IDFields•about•description•general_info•website•phoneCover Photo Fields•cover: A FB Photo ID, 399px min. width•offset_y: % offset from top•no_feed_story: set to true to suppress a feed storySYNCAPSE | New York | Toronto | London | Portland 4All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: Attributes API ExampleSYNCAPSE | New York | Toronto | London | Portland 5All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: Attributes API ExampleSYNCAPSE | New York | Toronto | London | Portland 6All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: AppsNow called Page Apps – “Tabs” really doesn’t make sense any more.•Gone: default landing Tab • You can still link through to a Page App directly by URL•New: Tab Image (111x74)Existing APIs Unchanged•Reading list of installed Apps•Adding/removing Apps•Changing App Position•Changing App nameSYNCAPSE | New York | Toronto | London | Portland 7All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: Apps API ExampleLet’s update the Page App Image!Update: POST /PAGE_ID/tabs/APP_IDFields•custom_image_url•custom_image: for raw image dataSYNCAPSE | New York | Toronto | London | Portland 8All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: Apps API ExampleLet’s update the Page App Image!SYNCAPSE | New York | Toronto | London | Portland 9All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: MilestonesAgain, you’ll need manage_pages Permission and a Page Access TokenRead: GET /PAGE_ID/milestonesCreate: POST /PAGE_ID/milestonesFields•title•description•start_timeDelete: DELETE /OBJECT_IDSYNCAPSE | New York | Toronto | London | Portland 10All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: Milestone API ExamplePOST /PAGE_ID/milestonesSYNCAPSE | New York | Toronto | London | Portland 11All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: Milestone API Example Note: Founded is probably a bad example of a custom Milestone title, as FB treats the ‘start date’ of a page specially!SYNCAPSE | New York | Toronto | London | Portland 12All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: MessagesYou’re gonna need manage_pages, read_inbox and Page Access Token.Pages can only reply to messages, and cannot initiate any contact.Read: GET /PAGE_ID/conversationsReply: POST /THREAD_ID/messagesFields•messageSYNCAPSE | New York | Toronto | London | Portland 13All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: Messages API ExampleYou’ve got mailThis is thread t_id.154426338013265•as retrieved from /PAGE_ID/conversationsLet’s reply using the Graph API!POST /THREAD_ID/messagesSYNCAPSE | New York | Toronto | London | Portland 14All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: Messages API ExampleAnd our happy result!SYNCAPSE | New York | Toronto | London | Portland 15All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: Post VisibilityGreat for Moderation-type apps!Change visibility: POST /POST_IDFields•is_hidden: ‘true’ or ‘false’SYNCAPSE | New York | Toronto | London | Portland 16All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: Public InsightsPublically available statsSYNCAPSE | New York | Toronto | London | Portland 17All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Page Timeline: Missing Stuff Pinning a Post Featuring a Post Back-dating contentSYNCAPSE | New York | Toronto | London | Portland 18All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • OPEN GRAPH STUFFSYNCAPSE | New York | Toronto | London | Portland 19All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Reading Open Graph ActionsRead OG Actions generated by arbitrary apps!•GET /USER_ID/APP_NAMESPACE:ACTION•GET /USER_ID/VERTICALPermission(s) Required•user_actions.VERTICAL • Where VERTICAL is one of music, news, video•user_actions:APP_NAMESPACE • Where APP_NAMEPACE is the, er, App namespaceUse the same permissions format for a user’s friends with•friends_actions Example Request •user_actions.video •user_actions:my_demo_appSYNCAPSE | New York | Toronto | London | Portland 20All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Location Tagging: OG ActionsAdd Place ID to an OG Actionhttps://graph.facebook.com/me/fdgl_demo:chow_down_on? pizza_slice=http://domain/pineapple-pizza-slice& place=PLACE_PAGE_ID& access_token=ACCESS_TOKENSYNCAPSE | New York | Toronto | London | Portland 21All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Location Tagging: OG ObjectAllows Map view in feed and Map Layout Timeline Aggregation.Add lat/long to OG object metadata:<meta property="your-og-app:location:latitude" content="37.416382"><meta property="your-og-app:location:longitude" content="-122.152659"><meta property="your-og-app:location:altitude" content="42">You can also add a place field to the normal Graph API when creating a post via POSTing to auser’s feed.SYNCAPSE | New York | Toronto | London | Portland 22All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • ag People in Posts Add Tags to OG Actions or Feed Stories. This only works with a valid place ID, mind you. Create Post: POST /me/feed Fields •(normal post fields) •place: valid Page ID of a FB Place. Required. •tags: Comma-separated list of Facebook IDs The fields are named the same when creating an OG ActionSYNCAPSE | New York | Toronto | London | Portland 23All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • ther Location and Tagging Stuff Search Examples Get posts by friends near a Place https://graph.facebook.com/search?type=location&place=233218519879&access_token=_ Get objects near a specific lat/long https://graph.facebook.com/search?type=location&center=37.76,-122.427&distance=1000 Using locations_post FQL table SELECT id, tagged_uids FROM location_post WHERE page_id=110506962309835 There’s loads of room for doing cool new stuff with this kind of data!SYNCAPSE | New York | Toronto | London | Portland 24All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • UGC Photos with ActionsWe can now add UGC images, which display in the Timeline way biggerand may get more distribution.Here’s how•Add a user_generated parameter•Image must be at least 520px (both dimensions)https://graph.facebook.com/me/fdgl_demo:chow_down_on? pizza_slice=http://domain/pineapple-pizza-slice& place=PLACE_PAGE_ID& image[0][url]=http://domain/user-photo.jpg& image[0][user_generated]=true& access_token=ACCESS_TOKENSYNCAPSE | New York | Toronto | London | Portland 25All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • UGC Photos with Actions: ResultSYNCAPSE | New York | Toronto | London | Portland 26All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • OTHER BITSSYNCAPSE | New York | Toronto | London | Portland 27All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Games: New Stories in News FeedWhen you use the Scores API to manage your users’ scores these stories will begenerated automatically.See https://developers.facebook.com/docs/score/•The Score story: Bob User scored 4321 points playing Frooble•The Passing story: Bob User passed Jane Person’s high score in Frooble•The High Score story: Bob User got a new high score in FroobleSYNCAPSE | New York | Toronto | London | Portland 28All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Enhanced Auth Dialog rolloutMigration for all users and apps started in early March and is nearingcompletion.Permission changepublish_actions now automatically includes these permissions:•Post to timeline (as before)•Tag photos•Publish photos and videosSYNCAPSE | New York | Toronto | London | Portland 29All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • iOS Integration Deep LinkingFeed stories can deep link from the Facebook iOS app directly to nativeiOS apps•or App Store if App not installed. For mobile web apps, keep doing UA-sniffing andSYNCAPSE | New York | Toronto | London | PortlandAll materials contained within this presentation are copyright Syncapse Corp. 2012. redirection. 30
  • Policy UpdatesAutoplay of media Allowed for tabs•This means your tab can go crazy if that’s what you really want. Three revisions were made to the Facebook Platform Policies on Tuesday, March 7, 2012: 2.We removed our policy which prohibited Page Apps from hosting media that played automatically without a user’s interaction. 3.We revised our Mobile Web App policy to make it clear that Mobile Web Apps running within a Facebook iOS app may only use iOS approved payment methods and may not reference, use, or otherwise encourage use of Facebook Credits and other non-iOS payment methods. 4.We included a reminder that, if applicable, developers must be sure to comply with the Video Privacy Protection Act (VPPA), and obtain any opt-in consent necessary from users so that user data subject to the VPPA may be shared on Facebook. From https://developers.facebook.com/blog/post/2012/03/07/platform-updates--operation-developer-love/ Warning: the new Page Cover Photo rules are super strict.SYNCAPSE | New York | Toronto | London | Portland 31All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • Other Updates• Graph API now returns error codes• Insights now shows nice Mobile referral info• New FB training courses • http://www.pluralsight-training.net/microsoft/Courses/TableOfContents? courseName=fb-platform• Inline Video in News Feed works • Set og:video to your video URLDon’t forget to check the Facebook Developer Roadmap for detailed breakage info!SYNCAPSE | New York | Toronto | London | Portland 32All materials contained within this presentation are copyright Syncapse Corp. 2012.
  • The End. Or is it?Ask me about social media, technology, or e-cigarettes:•i.najmuddin@syncapse.com•twitter.com/iskandar•+44(0)207.096.0146SYNCAPSE | New York | Toronto | London | Portland 33All materials contained within this presentation are copyright Syncapse Corp. 2012.