Facebook Rolls Out Currency Conversion API For App Developers

Facebook continues to aid application developers with its phasing out of Facebook Credits in favor of local currency, following up its introduction of revised payment terms last week with Thursday’s rollout of an application-programming interface that allows developers to convert Facebook Credits into the user’s preferred currency.

The API automatically detects the user’s preferred currency and allows the app to display prices in that currency.

Facebook said in a post on its developer blog:

For example, a user visits your store to buy an item priced at $10 (100 credits). You can access the preferred currency — euros for this user — and the current conversion rate from credits to EUR via the API described below. Instead of displaying price in U.S. dollars, you can now show the item price as €8.12 (100 credits at an 0.0812 conversion rate). When you invoke the pay dialog, use the parameter “oscif=true”, and the user will see €8.12 as the price of the item in the pay dialog, as well.

Readers: Do you think this API will help clear up confusion on both the developer and user sides?

Related Stories
Mediabistro Course


PodcastingLearn to develop, create, and launch your own podcast! On October 23, Steve Belaner, the host of the weekly podcast The Gamut, will teach you how to determine the goals of your podcast, perfect your concept, contact and book guests, market your podcast, and get your show up and running in just a few weeks. Register now!