每项目录服务都有 action=services 返回的类型。该类型决定 action=add 接受哪些参数;集成前请阅读服务字段。
此处省略 key、action 和可选重试字段 request_id/idempotency_key。第一列显示熟悉的 type 和增量的 type_key。
| 类型 | link | quantity | 额外参数 |
|---|---|---|---|
| Defaulttype_key: default | 是 | 是 | — |
| Custom Commentstype_key: custom_comments | 是 | Optional; derived from list | comments* |
| Custom Comments Packagetype_key: custom_comments_package | 是 | 否 | comments* |
| Packagetype_key: package | 是 | 否 | — |
| Invites from Groupstype_key: invites_from_groups | 是 | 是 | groups* |
| Mentionstype_key: mentions | 是 | 是 | usernames* |
| Mentions Hashtagtype_key: mentions_hashtag | 是 | 是 | hashtag*usernames |
| Mentions User Followerstype_key: mentions_user_followers | 是 | 是 | username* |
| Mentions Media Likerstype_key: mentions_media_likers | 是 | 是 | media* |
| Mentions Custom Listtype_key: mentions_custom_list | 是 | Optional; derived from list | usernames* |
| Polltype_key: poll | 是 | 是 | answer_number* |
| Comment Likestype_key: comment_likes | 是 | 是 | — |
| Comment Repliestype_key: comment_replies | 是 | Optional; derived from list | usernamecomments* |
| SEOtype_key: seo | 是 | 是 | keywords* |
| Web Traffictype_key: web_traffic | 是 | 是 | keywordsreferercountrydevicetype_of_trafficgoogle_keyword |
* 表示必填参数,未标记者为选填。string (list) 表示一个原始表单值,每行一项,而不是 JSON 数组。
(custom_comments)| comments必需 | string (list) | Comments |
(custom_comments_package)| comments必需 | string (list) | Comments |
(invites_from_groups)| groups必需 | string (list) | Group links |
(mentions)| usernames必需 | string (list) | Usernames |
(mentions_hashtag)| hashtag必需 | string | Hashtag |
| usernames | string (list) | Source usernames (optional) |
(mentions_user_followers)| username必需 | string | Source username |
(mentions_media_likers)| media必需 | string | Source media URL |
(mentions_custom_list)| usernames必需 | string (list) | Usernames |
(poll)| answer_number必需 | integer | Answer number min: 1 |
(comment_replies)| username | string | Comment username (optional) |
| comments必需 | string (list) | Reply text |
(seo)| keywords必需 | string (list) | Keywords |
(web_traffic)| keywords | string (list) | Keywords (optional) |
| referer | string | Referrer URL (optional) |
| country | string | Country code (optional) |
| device | string | Device (optional) |
| type_of_traffic | string | Traffic type (optional) |
| google_keyword | string | Google keyword (optional) |