Execute pre-defined database operations for managing Instagram comments in the Seeyu Chat system. Supports getting posts, saving comments with classification, saving AI replies, and hiding comments.
Find a post by its source ID in the Seeyu Chat database
| Parameter | Type | Required | Description |
|---|
host | string | Yes | Database host |
port | number | Yes | Database port |
database | string | Yes | Database name |
username | string | Yes | Database username |
password | string | Yes | Database password |
ssl | string | No | SSL connection mode |
sourceId | string | Yes | Post source ID to look up |
| Parameter | Type | Description |
|---|
message | string | Operation status message |
rows | array | Array of matching post rows |
rowCount | number | Number of rows returned |
Insert or update a comment in the Seeyu Chat database
| Parameter | Type | Required | Description |
|---|
host | string | Yes | Database host |
port | number | Yes | Database port |
database | string | Yes | Database name |
username | string | Yes | Database username |
password | string | Yes | Database password |
ssl | string | No | SSL connection mode |
postId | number | Yes | Post ID (from get_post result) |
message | string | Yes | Comment message text |
sourceId | string | Yes | Comment source ID |
fromId | string | Yes | Comment author ID |
fromName | string | Yes | Comment author name |
classification | string | Yes | Comment classification (POSITIVE, NEGATIVE, etc.) |
customClassifications | string | No | Custom classifications as JSON string |
| Parameter | Type | Description |
|---|
message | string | Operation status message |
rows | array | Affected comment rows |
rowCount | number | Number of rows affected |
Insert a reply comment in the Seeyu Chat database
| Parameter | Type | Required | Description |
|---|
host | string | Yes | Database host |
port | number | Yes | Database port |
database | string | Yes | Database name |
username | string | Yes | Database username |
password | string | Yes | Database password |
ssl | string | No | SSL connection mode |
postId | number | Yes | Post ID (from get_post result) |
commentSourceId | string | Yes | Source ID of the parent comment being replied to |
message | string | Yes | Reply message text |
replySourceId | string | Yes | Source ID of the reply (from send_reply result) |
pageId | string | Yes | Instagram page ID |
pageName | string | Yes | Instagram page name |
| Parameter | Type | Description |
|---|
message | string | Operation status message |
rows | array | Affected reply rows |
rowCount | number | Number of rows affected |
Mark a comment as hidden in the Seeyu Chat database
| Parameter | Type | Required | Description |
|---|
host | string | Yes | Database host |
port | number | Yes | Database port |
database | string | Yes | Database name |
username | string | Yes | Database username |
password | string | Yes | Database password |
ssl | string | No | SSL connection mode |
sourceId | string | Yes | Source ID of the comment to hide |
| Parameter | Type | Description |
|---|
message | string | Operation status message |
rows | array | Affected comment rows |
rowCount | number | Number of rows affected |