This week we hosted f8 and announced several new, exciting features for Facebook Platform. You can catch up by watching the recorded videos from the f8 live stream, reading our post explaining the changes, or watching our how-to video which will help get you started building on all the new features.
There have been several bugs reported about how FB.Canvas.setAutoResize doesn’t set the height of the iframe correctly in some scenarios. We have been trying to fix this and and have pushed various fixes to ensure that it works correctly for the case when the iframe grows in height. We however came to the conclusion that it is hard for us to do this accurately when the iframe shrinks in height. As a result we are renaming this function to FB.Canvas.setAutoGrow so that it accurately reflects its functionality. If your iframe is shrinking for whatever reason we recommend that you use FB.Canvas.setSize with a height parameter to set the iframe height explicitly.
As part of this change, you should be able to use FB.Canvas.setAutoGrow today. FB.Canvas.setAutoResize will work for the next 90 days and we will remove support for this method on January 1st, 2012. Here is some sample code to test the grow functionality.
This week we added a connection for the User object that allows you to get the list of mutual friends between two users. To use it, just get an access token for the current user and issue a
GET request to:
You will receive a JSON object containing an array of user names and IDs who are friends with both users. For example, to see if you and I have any mutual friends, check out this link in the Graph API Explorer.
This week, in addition to the exisiting fields, we made it possible to access the following fields for the Application object in the Graph API:
You’ll receive a JSON object containing the properties mentioned above as well as the others outlined in the documentation.
There has been some confusion in the past on what it takes for your app to show up in search. It’s now very simple. We have removed the “Submit to Search" link from the app settings page. Now, when your app reaches 10 monthly active users it will be queued to be indexed the next time we rebuild our index (we rebuild every 2-4 weeks). If you already have 10 monthly active users it will be added to the indexing queue immediately.
The following breaking changes are slated to go into effect on the 1st of October:
OAuth 2.0 Migration
Apps on Facebook authentication and security migration
All Canvas and Page tab apps must convert to process signed_request (fb_sig will be removed) and obtain an SSL certificate for use in
Secure Canvas URL and
Secure Page Tab URL (unless you are in Sandbox mode).
Auth 1.0 deprecation
Auth.promotesession, auth.createtoken, auth.expiresession, auth.getsession will be removed on Oct 1st. Details on support for OAuth 2.0.
manage_pages permission required to access user accounts (/me/accounts)
We are modifying access to the FQL page_admin table and the graph.facebook.com/me/accounts endpoint. Previously, with basic permissions granted, an app could go to this endpoint or the FQL table to access the list of a users’ apps and Pages. We are going to require that apps have the manage_pages permission in order to obtain access to this information.
We have now finished updating all of the FQL table documentation. This week we updated the following docs:
All of the Dialog documentation is also now up to date. This week we updated the following dialog docs:
Although no new bugs can be filed in Bugzilla, we will continue working on closing out the remaining open bugs in Bugzilla. The total number of open bugs in Bugzilla is now 1,325 (down 145 from last week).
Activity on facebook.stackoverflow.com this week: