# 发送批量邀请时“topic\_id”是什么？

**URL:** https://meta.discourse.org/t/what-is-the-topic-id-when-sending-bulk-invites/194065
**Category:** Support
**Created:** [2021年六月16日 14:55 UTC](https://meta.discourse.org/t/what-is-the-topic-id-when-sending-bulk-invites/194065 "2021-06-16T14:55:01Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![bcardarella](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bcardarella/32/223448_2.png) [@bcardarella](https://meta.discourse.org/u/bcardarella)
#### Post date: [2021年六月16日 14:55 UTC](https://meta.discourse.org/t/what-is-the-topic-id-when-sending-bulk-invites/194065/1 "2021-06-16T14:55:02Z")

</div>

我想发送一些批量邀请，很高兴看到我可以自动将他们订阅到某个主题，但我不确定如何确定特定主题的 `topic_id` 值。

---

<div class="post-metadata">

### Author: ![ondrej](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ondrej/32/198804_2.png) [@ondrej](https://meta.discourse.org/u/ondrej)
#### Post date: [2021年六月16日 17:49 UTC](https://meta.discourse.org/t/what-is-the-topic-id-when-sending-bulk-invites/194065/2 "2021-06-16T17:49:07Z")

</div>

你好，Brian，这是该主题的 `topic_id`。它位于 URL 中。

![image](https://cdck-file-uploads-global.s3.dualstack.us-west-2.amazonaws.com/meta/optimized/3X/7/5/7547f0d0126cc529b369265d393e379a11042f85_2_517x33.png)

---

<div class="post-metadata">

### Author: ![bcardarella](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bcardarella/32/223448_2.png) [@bcardarella](https://meta.discourse.org/u/bcardarella)
#### Post date: [2021年六月16日 17:56 UTC](https://meta.discourse.org/t/what-is-the-topic-id-when-sending-bulk-invites/194065/3 "2021-06-16T17:56:35Z")

</div>

也许我误解了主题邀请。我有以下 URL：

![Screen Shot 2021-06-16 at 1.50.17 PM](https://global.discourse-cdn.com/meta/original/3X/4/c/4cb5b6d69ed944393fe5c43e0018ad4a08fcec2b.png)

因此，`topic_id` 应为 `6`。

我的批量邀请 CSV 文件：

![Screen Shot 2021-06-16 at 1.51.27 PM](https://global.discourse-cdn.com/meta/original/3X/e/d/ed33b0378f22e5820d1136d5e6b3dfc40dd4d109.png)

然后，当我接受邀请时，会看到此页面：

 ![Screen Shot 2021-06-16 at 1.52.34 PM](https://global.discourse-cdn.com/meta/original/3X/0/5/05cf6fa257bd694fb2210aeebf2f8c54d161d5cc.png)

我本以为这会自动让他们订阅该主题，但该主题的通知设置显示为“普通”。我希望被邀请加入该主题的用户能自动设置为“关注”。

---

<div class="post-metadata">

### Author: ![bcardarella](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bcardarella/32/223448_2.png) [@bcardarella](https://meta.discourse.org/u/bcardarella)
#### Post date: [2021年六月18日 14:55 UTC](https://meta.discourse.org/t/what-is-the-topic-id-when-sending-bulk-invites/194065/4 "2021-06-18T14:55:39Z")

</div>

顶一下这个话题。有人知道如何让被邀请的用户自动订阅特定的 topic\_id 吗？

---

<div class="post-metadata">

### Author: ![SonsOfAhriman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sonsofahriman/32/223278_2.png) [@SonsOfAhriman](https://meta.discourse.org/u/SonsOfAhriman)
#### Post date: [2021年六月22日 18:47 UTC](https://meta.discourse.org/t/what-is-the-topic-id-when-sending-bulk-invites/194065/6 "2021-06-22T18:47:58Z")

</div>

您知道话题类别被设置为什么了吗？

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [2021年六月22日 21:10 UTC](https://meta.discourse.org/t/what-is-the-topic-id-when-sending-bulk-invites/194065/7 "2021-06-22T21:10:20Z")

</div>

> [@bcardarella](#):
>
> 我有以下 URL：
> 
> ![Screen Shot 2021-06-16 at 1.50.17 PM](https://global.discourse-cdn.com/meta/original/3X/4/c/4cb5b6d69ed944393fe5c43e0018ad4a08fcec2b.png)
> 
> 因此，`topic_id` 应为 `6`。

在此问题关闭前说明一下，问题在于该 URL 指向的是一个分类，因此使用的是 `category_id` 而非 `topic_id`。

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [2021年六月22日 21:10 UTC](https://meta.discourse.org/t/what-is-the-topic-id-when-sending-bulk-invites/194065/8 "2021-06-22T21:10:42Z")

</div>


