Post to Facebook group
Input
groupId requiredNumeric id or vanity slug from a group URL (the part after /groups/). You must be a member / allowed to post; some groups hold posts for admin approval.
message requiredPlain-text post body.
dryRun optionalWhen true, open the composer, type the message (and attach the photo if given) but DO NOT submit. Returns posted:false, dryRun:true once the publish control is confirmed enabled.
Default: falseimageUrl optionalOptional photo to attach, fetched from this URL inside the page. The host must be reachable from facebook.com (CSP/CORS) — fbcdn.net image URLs work; for arbitrary images prefer imageBase64.
imageBase64 optionalOptional photo to attach, as raw base64 bytes of a JPEG/PNG (no data: prefix). Ignored when imageUrl is set.
requireProfile optionalWhen true, refuse to post if the session is switched to a Page identity (i_user cookie present) — the post would be authored by the Page, and membership/your-content surfaces reflect the Page, not the profile.
Default: falseskipDuplicateCheck optionalSkip the pre-post duplicate guard (the group's my_posted_content page is normally checked for this message first; if already there the script returns alreadyPosted:true without posting).
Default: falseOutput
name optionaldryRun optionaltrue when the run stopped before submitting because the dryRun arg was set.
posted optionaltrue once the composer dialog closed after submit. false in dryRun and when alreadyPosted.
groupId optionalverified optionaltrue when the message was found on the group's my_posted_content page right after publishing. false can mean the post is held for admin approval.
alreadyPosted optionaltrue when the duplicate guard found this exact message already on the group's my_posted_content page — nothing was posted.
photoAttached optionaltrue when the photo registered in the composer (blob preview seen) before submit.
