-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
요구사항
게시물 목록 또는 상세 에서 공유하기 클릭 시 사용되는 API
- 게시물들은 본 서비스가 아닌 외부 서비스에서 관리됩니다. 그렇기에 좋아요 클릭 시 각 SNS 별 아래 명시된 API 를 호출합니다.
| type | method | endpoint |
|---|---|---|
| POST, PUT 등 | https://www.facebook.com/share/<content_id> | |
| POST, PUT 등 | https://www.twitter.com/share/<content_id> | |
| POST, PUT 등 | https://www.instagram.com/share/<content_id> | |
| threads | POST, PUT 등 | https://www.threads.net/share/<content_id> |
- 해당 호출이 성공할 시
response status 200해당 게시물의share_count가 1 증가합니다. - 횟수 제한이 없습니다. 한 유저가 몇 번의 좋아요를 누르던 공유 수는 계속 상승합니다.
Response
Success
- 200 OK
Failure
- 404 Not Found
- ErrorCode 설명
Reactions are currently unavailable