Developer news
Platform Updates: Operation Developer Love

This week, we shared videos, presentations, and sample code from the Paris Developer Garage to the Dev Site to help educate developers on Facebook Platform basics.

Per-post impressions added to stream FQL Table

We have added per-post Page impression data to the stream FQL table. If you have been granted the read_insights extended permission from Page owners, you can access per-post Page impressions.

For example:

SELECT message, impressions FROM stream WHERE 
  actor_id="19292868552" and source_id ="19292868552" limit 50
will get you the impressions for each message

  0: {
    message: "Tune in to @Facebook Live today at 10 a.m. PDT 
      to be part of a live announcement about new 
      technology from Mark Zuckerberg, Facebook
      engineers and our industry partners: ",
    impressions: {
  1: {
    message: "A couple months after Playfish brought the 
      classic game of Monopoly to Facebook, the developer 
      is challenging users to try to set a new Guinness World 
      Record for Global Monopoly Day!. Check out Monopoly 
      Millionaires for yourself to be a part of it, and let us know 
      of any campaigns you’re working on with your app.",
    impressions: {

Driving more traffic to your sites via the Like button

We are continuing to drive more traffic to sites that have added the Like button. We recently modified the published News Feed story to include the og:image, og:title, and og:description:

In addition, we noticed that when a comment is added to a post, it has a higher CTR on the News Feed than a post without one. To encourage more comments, we built a preview window:

The comment preview is enabled for all XFBML Like buttons. See live example here and code below:

<script src=""></script>
<fb:like href="" show_faces="true" width="450" font=""></fb:like>

Controlling the window’s viewport within Canvas apps

We’ve added two new functions to the Javascript SDK for use within iframe Canvas apps:

1) FB.Canvas.getPageInfo. This function will return information about the window’s viewport and your iframe’s viewport. For example:


will return a JSON object to your browser’s Javascript Console containing the following fields: clientHeight, clientWidth, offsetLeft, offsetTop, scrollLeft, and scrollTop.

2) FB.Canvas.scrollTo which allows you to scroll to a specific position in your app’s canvas page. For example:


will scroll to the top left of your app’s canvas page.

Roach motel

As part of Operation Developer Love, we are continuing to ramp our efforts to triage and fix our backlog of bugs from the past 3 years. This week, we hosted our monthly “Roach Motel” day, where the team works through the bugs backlog trying to reproduce issues and filing them for our engineering team if they are reproducible. We are also writing watir tests to proactively identify and fix bugs before our weekly push.

Bugzilla activity for the past 7 days:

  • 197 new bugs were reported
  • 35 bugs were reproducible and accepted (after duplicates removed)
  • 22 bugs were fixed (21 previously reported bugs and 1 new bug)
  • As of today, there are 1,143 open bugs in Bugzilla (down 18 from last week)

Developer Forum activity for the past 7 days:

  • 590 New Topics Created
  • 288 New Topics received a reply
  • Of those 288, 59 were replied to by a Facebook Employee
  • Of those 288, 43 were replied to by a community moderator

Eryu, a Platform engineer, is writing Graph API tests and hoping this post will get lots and lots of impressions.