javascriptfacebook-javascript-sdkfacebook-credits

Facebook Credits on an external website


I tryed the sample code found here: https://developers.facebook.com/docs/creditsapi/ Even if i added my company address & payment, i still get this error:

API Error Code: 1151 API Error Description: Sorry, but this app may not be eligible to accept Facebook Credits. If this app has accepted credits before, please try again. Error Message: Invalid Application

I think the credits api best work on iframe apps. Is possible to integrate credits in my website? Best Matteo


Solution

  • credits only work in facebook canvas apps:

    The Facebook Credits API enables a user to use credits as a method for purchasing digital and virtual goods within a Facebook canvas application. Please note: the credits api is not yet available for use by external websites but only on canvas iframe applications.