Facebook Gives Developers New App Testing Tool

Facebook announced a new testing capability for developers, which enables those currently using Graph API v1.0 to preview how their app will behave using Graph API v2.0 or higher, before they actually...
Facebook Gives Developers New App Testing Tool
Written by Chris Crum

Facebook announced a new testing capability for developers, which enables those currently using Graph API v1.0 to preview how their app will behave using Graph API v2.0 or higher, before they actually change any code to upgrade.

You may recall that Facebook announced at its f8 developer conference back in April that all developers have to upgrade to Graph API v2.0 or higher before v1.0 is deprecated on April 30, 2015. v2.0 and higher include features like the Tagged Places API, the Social Context API and Page Mentions.

“We hope this testing capability makes it even easier for developers to upgrade their apps,” a spokesperson for the company said in an email.

Facebook’s Dan Xu says in a blog post:

When you prepare to upgrade, your first step is to see how your app behaves when it’s updated to v2.x. For some developers, this is as simple as a code change to ensure their API requests declare v2.0 or greater. But we’ve heard feedback that it’d be valuable to test how an app behaves in v2.x without making any code changes on your side.

To make this easier, we’ve added the ability to override the applied API version for Test Users of your app. This allows you to login as a test user, and see exactly how your app will behave once you’ve migrated to v2.x.

You can setup a version override for a Test User by going to the Test Users tab in the roles section of your app’s dashboard and selecting “Override the API version in Graph API requests for this test user”. Then, choose the version that you want applied to all API requests from that test user.

Xu talks a little more in depth about this here.

Image via Facebook

Get the WebProNews newsletter delivered to your inbox

Get the free daily newsletter read by decision makers

Subscribe
Advertise with Us

Ready to get started?

Get our media kit

Advertise with Us