You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case of failure, we are getting below response:
{
"status": "success",
"details": "token not found!"
}
It seems like this is something that might warrant an error message.
Typically, status might return "error" and then we know that "details" (or maybe "message") would return a note about what went wrong. Look to the wp_send_json_success() and wp_send_json_error() functions for a good pattern.
FB details API call
URL: newfold-facebook/v1/facebook/details
In case of failure, we are getting below response:
It seems like this is something that might warrant an error message.
Typically, status might return "error" and then we know that "details" (or maybe "message") would return a note about what went wrong. Look to the wp_send_json_success() and wp_send_json_error() functions for a good pattern.
CC: @wpscholar
The text was updated successfully, but these errors were encountered: