# Как лайкнуть конкретный пост через API?

**URL:** https://meta.discourse.org/t/how-can-you-like-a-specific-post-through-the-api/224851
**Category:** Development
**Tags:** rest-api
**Created:** [20.Апрель.2022 15:46:12 UTC](https://meta.discourse.org/t/how-can-you-like-a-specific-post-through-the-api/224851 "2022-04-20T15:46:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Allen\_Chen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/allen_chen/32/256627_2.png) [@Allen\_Chen](https://meta.discourse.org/u/Allen_Chen)
#### Post date: [20.Апрель.2022 15:46:12 UTC](https://meta.discourse.org/t/how-can-you-like-a-specific-post-through-the-api/224851/1 "2022-04-20T15:46:12Z")

</div>

Есть ли в API Discourse что-то, что поможет вам поставить лайк сообщению?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [20.Апрель.2022 15:58:04 UTC](https://meta.discourse.org/t/how-can-you-like-a-specific-post-through-the-api/224851/2 "2022-04-20T15:58:04Z")

</div>

Да, ознакомьтесь с [Как реверс-инжинирить API Discourse](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576) и [Discourse API Docs](https://docs.discourse.org/#operation/performPostAction)

---

<div class="post-metadata">

### Author: ![Allen\_Chen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/allen_chen/32/256627_2.png) [@Allen\_Chen](https://meta.discourse.org/u/Allen_Chen)
#### Post date: [20.Апрель.2022 16:01:49 UTC](https://meta.discourse.org/t/how-can-you-like-a-specific-post-through-the-api/224851/4 "2022-04-20T16:01:49Z")

</div>

Что такое «post\_action\_type\_id»?

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [20.Апрель.2022 16:04:15 UTC](https://meta.discourse.org/t/how-can-you-like-a-specific-post-through-the-api/224851/5 "2022-04-20T16:04:15Z")

</div>

Это как `2`, что можно проверить на [Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576)
