Error returning Facebook Credits demo application

We are participating in the beta version of Facebook Credits. After approving our live application, we followed the steps from the API page to configure the demo application: http://developers.facebook.com/docs/creditsapi

However, whenever we send using the "Pay with Facebook" button, we return error 1383008 ("The application you are using does not respond").

We checked the server logs and confirmed that all the necessary parameters go to http://apps.facebook.com/ajax/flows/?__a=1 , as expected. We also confirmed that the callback URL (callback.php from the demo application files) never hits.

To be sure that this is not a compatibility issue with the new JavaScript SDK, we installed the demo using the old JS SDK and got the same error.

Has anyone else experienced this issue when running a demo application (using any version of the SDK)? If we cannot launch the demo, we will not be able to implement this function in our live application.

Here is the request sent to the server (remote application identifier):

deadbeef=2386512837&app_id=OUR_APP_ID&api_key&receiver=0&order_info=%7B%22title%22%3A%22BFF%20Locket%22%2C%22description%22%3A%22This%20is%20a%20BFF%20Locket...%22%2C%22price%22%3A%2210%22%2C%22image_url%22%3A%22http%3A%2F%2Fwww.facebook.com%2Fimages%2Fgifts%2F21.png%22%2C%22product_url%22%3A%22http%3A%2F%2Fwww.facebook.com%2Fimages%2Fgifts%2F21.png%22%7D&place=app&credits_purchase=false&flow_type=BuyItem&__d=1&post_form_id=57484628313c8345bd4e904f684e43e5&fb_dtsg=1GSvy&lsd&post_form_id_source=AsyncRequest

Here is the answer that was returned:

for (;;);{"error":0,"errorSummary":"","errorDescription":"","errorIsWarning":false,"silentError":0,"payload":{"secure":false,"handler":"","title":"Application Error","userData":{"fbpayments_error":"{\"error_code\":1383008,\"error_message\":{}}"},"body":"<div class=\"pam uiBoxRed\">The application you are using is not responding.<\/div>","buttonsMessage":null,"buttons":"ok"}}
+3
source share
2 answers

API Credits Facebook . , , , .

+3

. . - URL. local_url

  'http://localhost:3000/blabla'

  http://apps.facebook.com/application-name/
0

Source: https://habr.com/ru/post/1775912/


All Articles