This API Will Let Facebook Developers Show Users The Money They Want

By: Chris Crum - June 28, 2012

Facebook launched a new API to give developers access to users’ preferred currency and and the conversion rate to Credits.

As you may know, Facebook recently announced that it is phasing out Credits in favor of real money, and local currency (as well as a subscription payment model).

The API, Facebook says, lets game developers show prices in the user’s preferred currency in their in-game stores.

“For example, a user visits your store to buy an item priced at $10 (100 Credits),” explains Facebook’s Colin Creitz. “You can access the preferred currency — EUR for this user — and the current conversion rate from Credits to EUR via the API described below. Instead of displaying price in USD, you can now show the item price as €8.12 (100 credits * 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.”

Documentation for the API can be found here.

Chris Crum

About the Author

Chris CrumChris Crum has been a part of the WebProNews team and the iEntry Network of B2B Publications since 2003. Follow Chris on Twitter, on StumbleUpon, on Pinterest and/or on Google: +Chris Crum.

View all posts by Chris Crum
  • http://diluvianloop.tumblr.com/ You Can Try Here

    It’s very straightforward to find out any topic on web as compared to textbooks, as I found this post at this website.