docs(external-entry): update entry links and remove avatar_url parameter

This commit is contained in:
2026-07-15 11:24:12 +08:00
parent 20d07023e4
commit a7c1574e58
2 changed files with 28 additions and 3 deletions
+3 -2
View File
@@ -19,7 +19,6 @@
| --- | --- | --- | --- |
| `target` | 否 | `chat``tip``private-room` | 最终页面,缺失或无效时进入 `chat`。 |
| `psid` | 否 | string | Facebook Page-scoped User ID。 |
| `avatar_url` | 否 | URL string | 用户头像地址。 |
| `coffee_type` | 打赏入口可选 | `small``medium``large` | `target=tip` 时指定咖啡档位,缺失或非法时默认为 `small`。 |
| `mode` | 否 | `promotion` | 设置为 `promotion` 时尝试开启聊天促销模式。 |
| `promotion_type` | 促销模式必填 | `voice``image``private` | 指定促销锁消息类型。 |
@@ -28,6 +27,8 @@
## 普通入口
下述为链接格式。测试环境和正式环境的可点击链接见 [外部入口链接清单](./external-entry-links.md)。
进入聊天:
```text
@@ -84,7 +85,7 @@ https://<APP_HOST>/external-entry?target=tip&coffee_type=large
## 接入要求
- 所有参数必须使用 URL 编码,尤其是 `avatar_url`
- 所有参数必须使用 URL 编码。
- 不要通过入口传递登录 token、Page Access Token 或 App Secret。
- `coffee_type` 仅在 `target=tip` 时生效;缺失或非法时使用 `small`
- `promotion_type` 非法时按普通聊天入口处理,不展示促销消息。