Home
Blog
Platform Updates: Operation Developer Love

February 29, 2012

Platform Updates: Operation Developer Love

By Benjamin Golub

This week we spotlighted Goodread's use of the Open Graph, announced our commitment to providing distribution across all platforms and completed 90% of the Open Graph Submissions

We added new fields like_info and comment_info to the notes, album and photo FQL Tables

The like_info field is an object containing information about the like count, if the user likes the object and if the object can be liked. The comment_info field is an object containing the comment count and if the object allows comments.

To access the comment_info and like_info for the The "Happy Lunar New Year 2011" album (Try this query)

SELECT comment_info, like_info FROM album WHERE aid="20531316728_324257"

The following PHP example demonstrates how to query the album table with the PHP SDK:

$facebook = new Facebook(array(
  'appId'  => 'APP_ID',
  'secret' => 'APP_SECRET',
));

$user = $facebook->getUser();

if ($user) {
  try {
    $fql = "SELECT comment_info, like_info FROM album WHERE owner=me()";

    $response = $facebook->api(array(
      'method' => 'fql.query',
      'query'  => $fql,
    ));
  } catch (FacebookApiException $e) {
    error_log($e);
    $user = null;
  }
}

print_r($response)

This query returns the following objects for each album:

[comment_info] => Array
    (
        [can_comment] => 1
        [comment_count] => 0
    )

[like_info] => Array
    (
        [can_like] => 1
        [like_count] => 0
        [user_likes] => 
    )

Upcoming Breaking Changes on March 1, 2012

  • Removing the third settled callback from Payments. To ensure the best experience for users, we are asking developers to ensure that they are fulfilling the order in the callback with status=placed. We assure you that once we call you with status=placed and you respond with settled, the transaction will be complete and you will be paid. You should not be waiting for the settled callback before fulfilling the order.

    To reduce confusion we are completely removing the settled callback. For more information please read the Facebook Credits Update blog post.

  • Returning up to 960px wide photos in "photo" FQL table and photo Graph API. On March 1st, 2012 we will begin returning photos up to 960px wide in the src_big field of the photo FQL table, as well as the source field of the photo object, increasing the current max width of 720px.

Please refer to the Platform Roadmap for more info.

Bugs activity between Tuesday, February 21 and Tuesday, February 28

  • 122 bugs were reported
  • 36 bugs were reproducible and accepted (after duplicates removed)
  • 12 bugs were by design
  • 31 bugs were fixed
  • 64 bugs were duplicate, invalid, or need more information
  • Bugs fixed between Tuesday, February 21 and Tuesday, February 28

  • Login Notifications Create Inconsistent Flow with Email Permissions
  • Likes not transferred after migrating to new page
  • Unable to move/resize profile picture
  • Send/Like button flyouts are not positionable
  • URL blocked
  • Empty Aggregation appeared
  • can not add a domain name
  • Insights not updating
  • FB.getLoginStatus does not fire callback for IE7
  • My app page did not migrated
  • No Insights data since january 24
  • “Buy Empires Points by Mobile” window does not have description of “Facebook Credits”
  • word-pair reversal
  • Admin link not showing for like button
  • Binding to token extension service on Android fails
  • Confirm link not working
  • link broken on https://developers.facebook.com/docs/offline-access-deprecation/
  • Remove, Make Friend and Add to Other Apps buttons arent working in Test Users Modify page.
  • Add to timeline button issue with open graph beta app
  • Copenhagen misspelled in Danish in Credit Card portal
  • the like button is blocked
  • Real-time links to permissions broken (using relative links)
  • Sherdog MMA Pick 'Em domain and URL incorrectly blocked as 'spammy'
  • Open Graph Profile Objects surface as 'Musician' after publishing
  • Album name fields missing in some photo albums
  • Make Friends feature through FB Developer Tool broke again
  • Send button's cancel button not working
  • Cannot migrate or link Page to App
  • Test Users: "Make Friends" function doesn't work on the Roles/Manage Test Users page.
  • Cannot view pending developer requests
  • typo: page_fans_county should read page_fans_country
  • Facebook Stack Overflow Activity

    Activity on facebook.stackoverflow.com this week:

    • 142 questions asked
    • 133 questions with a score of 0 or greater
    • 29 answered, 22% answered rate
    • 70 replied, 53% reply rate

    TAGS