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

Applied Web Analytics

Applied Web Analytics Starting July 22, learn a deeper knowledge of traditional web analytics measurement for online marketing and advertising and other digital tools including media and mobile devices. You'll learn how to select key performance indicators to measure your website, set goals and produce results, integrate analytic efforts into your marketing strategy and more. Register now!