Search code examples
facebookfacebook-creditscredits

Integrating Facebook Credits results in "The application you are using is not responding."


I've been trying to integrate Facebook Credit purchases into my app, but any call to the pay dialog results in the error message "The application you are using is not responding." To eliminate any application specific problems, I've downloaded the Credits API Example and am just trying to get that to work -- it results in the same error message.

I've been trying for a couple of days to pinpoint this error message, but with no luck. Here's what I know so far:

  • Clicking the "Pay with Facebook" button results in error code 1383008, but there's no error_message being displayed.

  • I'm running Apache 2.2 on Windows 7. As far as I can tell, Apache is configured to allow requests from any source.

  • The canvas page is configured to point at http://localhost:8080/facebook.../ while the callback page is configured to point at http://localhost:8080/facebook.../callback.php. However, I have verified that the callback page is not being accessed.

I'm not sure how to verify whether or not Facebook is receiving my data correctly or if it's passing anything back. Any help in this regard would also be appreciated!


Solution

  • Credits attempts to make a callback to a web accessible url (or IP). If Facebook's spider cannot fetch the information from the callback script, then it will continue to return errors, since Facebook expects you to send information like the cost, name, image, custom parameters in order to process the payment.

    Have a look at the creating a callback section of the docs: http://developers.facebook.com/docs/creditsapi/