Get a Facebook or Instagram comment's link on the platform
Asks Meta where a comment on a facebook_comments or instagram_comments thread is seen: on Facebook the comment's permalink (its post, scrolled to the comment); Instagram links no single comment, so the post's. A comment Meta has no link for (deleted there, or a private reply) answers 409 COMMENT_LINK_UNAVAILABLE, a missing or expired connection 409 META_RECONNECT_REQUIRED, and no answer from Meta 502 META_COMMENT_LINK_FAILED.
Loading the API reference…
Hide, unhide or delete a Facebook or Instagram comment POST
Runs the action on Meta for a comment on a facebook_comments or instagram_comments thread. A person's comment can be hidden, unhidden or deleted; the practice's own public reply can only be deleted (Meta never hides a Page's own comments), and a private reply cannot be changed (409 COMMENT_ACTION_UNAVAILABLE). A deleted comment keeps its text in Smileline, marked by `metadata.commentDeletedAt`; `metadata.commentDeleteRequestedAt` means Meta has not confirmed the delete yet (502 META_COMMENT_ACTION_UNCONFIRMED) and the delete can be sent again. A missing or expired connection answers 409 META_RECONNECT_REQUIRED, a permission Meta refuses 409 META_PERMISSION_MISSING, any other refusal 502 META_COMMENT_ACTION_FAILED.
React to a patient's WhatsApp message POST
Sends the practice's WhatsApp reaction on a patient's message, or removes it with an empty `emoji`. WhatsApp keeps one reaction per sender per message, so a new emoji replaces the old one. The reaction is no message of its own: it shows as `metadata.whatsappReaction` on the reacted message. Only inside the 24-hour window (409 WHATSAPP_WINDOW_CLOSED); a message that isn't a patient's WhatsApp message answers 409 REACTION_UNAVAILABLE, a disconnected number 409 CONNECTION_DISCONNECTED or WHATSAPP_RECONNECT_REQUIRED, a refusal from WhatsApp 502 WHATSAPP_REACTION_FAILED.