Unwraps the id from a Graph API response, logging the API's own message when the call failed. Keeps publishing helpers to a single null return.
id
null
Name used in the error log, e.g. "Instagram media container".
"Instagram media container"
Raw Graph API response.
The id, or null on error.
Unwraps the
idfrom a Graph API response, logging the API's own message when the call failed. Keeps publishing helpers to a singlenullreturn.