# 기존 사이트 기능에 Follow API를 통합하는 방법

**URL:** https://meta.discourse.org/t/using-follow-api-to-intergrate-with-existing-site-feature/304260
**Category:** Development
**Tags:** follow, rest-api
**Created:** [3월 27, 2024, 3:54오후 UTC](https://meta.discourse.org/t/using-follow-api-to-intergrate-with-existing-site-feature/304260 "2024-03-27T15:54:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Shauny](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/shauny/32/362012_2.png) [@Shauny](https://meta.discourse.org/u/Shauny)
#### Post date: [3월 27, 2024, 3:54오후 UTC](https://meta.discourse.org/t/using-follow-api-to-intergrate-with-existing-site-feature/304260/1 "2024-03-27T15:54:23Z")

</div>

제 웹사이트에는 이미 “팔로우” 기능이 설정되어 있습니다(WordPress와 Ultimate Member 사용 중). 두 가지를 통합할 수 있도록 해당 API가 있나요?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [3월 27, 2024, 3:59오후 UTC](https://meta.discourse.org/t/using-follow-api-to-intergrate-with-existing-site-feature/304260/2 "2024-03-27T15:59:16Z")

</div>

여기서부터는 여러분이 알아서 처리할 수 있을 겁니다 (의심이 들면 항상 소스 코드를 확인하세요! 😉 ):

> <https://github.com/discourse/discourse-follow/blob/2cfa8ae280f527188e12a3c7d7c5da2dcfa5370c/plugin.rb#L20>

(참고로, 이 "follow"는 GET이 되어야 하는 것 아닌가요?! 👀 이 주제에 대해서는 [이곳에서 흥미로운 논쟁](https://stackoverflow.com/questions/3266292/best-way-to-implement-a-restful-toggle-action)이 벌어지고 있습니다.)
