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

Instagram Marketing

Instagram MarketingStarting October 27, learn how to gain likes and followers on one of the most popular social media platforms! In this course, you'll learn how to develop an Instagram strategy that will make your profile stand out and gain new followers, tell your brand's story through photos, and use your profile to drive your sales and business objectives. Register now!