30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

BuddyBoss Manage Reactions

buddyboss/manage-reactions handles likes and emoji reactions.

Call action=list first. There is nothing portable to assume here.

At a glance

Abilitybuddyboss/manage-reactions
ToolsetBuddyBoss — toolset/buddyboss
GroupBuddyBoss › Activity
RequiresAcrossAI Pro, plus BuddyBoss Platform active on the site
Capabilitymanage_options
SafetyWrites data
RepeatableNot idempotent — each call changes the row set, so re-running is not a no-op
Ships inAcrossAI Pro 0.9.16 and later

Two modes, and two kinds of ID

A site runs reactions in either likes mode — a single Like — or emotions mode, with a configurable set. Which mode, and which reactions exist in it, differ per site.

So the available IDs cannot be known in advance, and a hard-coded reaction ID is a call that works on one site and fails on the next.

The second trap is subtler. action=remove needs the user-reaction ID — the record of this person having reacted — returned when the reaction was added or by action=list-user-reactions.

It does not take the reaction type ID, which merely names which reaction it is. The two are both integers and both come back from this ability, which is exactly the shape of a mistake that produces a confusing failure.

Not idempotent.

Input

NameTypeRequiredWhat it is
actionstringYeslist, add, remove or list-user-reactions.
item_idintegerFor add and listing user reactionsWhat is being reacted to.
item_typestringFor addWhat kind of item it is.
reaction_idintegerFor addThe reaction type ID.
user_reaction_idintegerFor removeThe user-reaction record ID — not the reaction type ID.

What comes back

NameTypeWhat it is
reactionsarrayThe available reactions, for list.
modestringLikes mode or emotions mode.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

What reactions can people leave here?

It resolves to one call:

{
  "ability": "buddyboss/manage-reactions",
  "parameters": {
    "action": "list"
  }
}

Worth knowing

  • Reaction IDs are per site. Nothing is portable.
  • Removing needs the user-reaction ID, not the reaction type ID.
  • Both are integers, which is why the mistake is easy.
  • Not idempotent.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading