Platform Update: Insights Shows App Load Times, Iframe Dialog Permission Changes

In the Developer Blog’s latest Platform Update, Facebook announced that developers can now view the page load times for their applications in Insights. It also listed iframe dialog permissions that are no longer permitted, and noted that Open Graph page images must have a minimum width of 180 pixels to be displayed next to posts made by that page.

Now, if developers include the call FB.Canvas.setDoneLoading from the Javascript SDK in their Canvas iframe applications, their app Insights Dashboard’s Performance tab will show their page load times in milliseconds. Facebook’s documentation states that the load time is tracked “beginning from the time when the first bytes arrive on the client, and ending from the point at which you call this function.”

Developers can also use the stopTimer and startTimer calls to exclude portions of the loading time from being counted. The addition of this data to Insights will make it easy for developers to identify loading issues and address them before they impact more of their user base. Developers can also track the connection between load time, conversion rate, and bounce rate to determine whether slow loading pages are hurting business.

For security reasons, Facebook has disallowed the use of iframe dialogs for requesting certain kinds of sensitive permissions after the initial authorization and permissions prompt. Those using the Javscript SDK won’t have to do anything, but those using display=iframemust now pop their own window and use display=popup to display the dialog. The following permissions are no longer allowed:

read_stream
manage_friendlists
read_mailbox
sms
xmpp_login
ads_management
read_insights
read_requests
manage_pages

The change will protect users from passing sensitive data or the ability to access their ad account, phone, inbox, Pages, Insights, and other important private content through a less secure channel.

Websites using the Open Graph markup language to help Facebook better present their content must now only use the og:image tag on images with a minimum width of 180 pixels if they want them displayed next to news feed updates they publish.

This means sites using the Like button should ensure their og:image tags are appended to large enough images if they take advantage of the ability to publish news feed updates to those that Like them.