Revenir aux actualités des développeurs

New Development Tools and Features

22 février 2019DeMichael Wang

August 14, 2020 Update: Please note that the API Documentation Resolver and the Object Visibility Debugger have been deprecated and are no longer available.

We've launched a new suite of debugging tools, including an API documentation resolver to connect you to the related documentation quickly and two tools to help you identify and fix bugs.

API Documentation Resolver

When working with the Graph API, many common issues can be solved by reviewing documentation and checking the valid fields, parameters, or permissions required for a particular endpoint. The API Documentation Resolver can instantly provide you with the relevant documentation page based on your API request, saving you time.

Object Visibility Debugger

When querying certain objects via the Graph API, you may encounter the “unsupported get request” response, which suggests you can't access the object. However, the reasons for that may not be clear.

The Object Visibility Debugger tool may help you better understand why a particular object is not available.

Messenger Webhook Recent Errors Tool

When your Messenger bot doesn't work as expected, the cause can often be traced to the setup and/or handling of Webhooks. Our new Recent Errors tool allows you to check the logs on Facebook's side to see any errors with Webhook delivery.

To use this tool, head to the Messenger section of the App Dashboard, and under the Webhooks section, you can launch the tool by clicking “show recent errors”.

New Features

  • The new Graph API Explorer now shows typeahead suggestions for available edges and fields, along with their descriptions, on particular nodes. Without needing to refer to documents for valid fields, you can now build queries faster and more easily than ever before.
  • If our systems detect your app exhibiting any issues at all, we now show an alert on the Developer Support page (https://developers.facebook.com/support), along with recommended tools to help in debugging.

We hope these tools will provide more power to your development projects. We welcome any feedback, which can be submitted via a short survey within each tool.