FanFundingEvents
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
참고: 지원 중단 공지입니다.
팬 자금지원 기능은 지원 중단되었으며 2017년 2월 28일에 팬 자금지원 API가 사용 중지됩니다. 이번 지원 중단 발표는 YouTube의 새로운
Super Chat 기능 출시와 동시에 제공됩니다.
fanFundingEvent
리소스는 YouTube 채널의 팬 자금지원 이벤트를 나타냅니다. 팬 자금지원은 YouTube 크리에이터를 금전적으로 후원할 수 있는 방법입니다. 팬 자금지원 이벤트는 사용자가 채널에 일회성으로 자발적으로 결제하면 발생합니다. 팬 자금지원에 대해 자세히 알아보려면 YouTube 고객센터를 참조하세요.
방법
API는 fanFundingEvents
리소스에 다음 메서드를 지원합니다.
- list
- 채널의 팬 자금지원 이벤트를 나열합니다. API 요청은 채널 소유자의 승인을 받아야 합니다.
지금 사용해보기
리소스 표현
다음 JSON 구조는 fanFundingEvents
리소스의 형식을 보여줍니다.
{
"kind": "youtube#fanFundingEvent",
"etag": etag,
"id": string,
"snippet": {
"channelId": string,
"supporterDetails": {
"channelId": string,
"channelUrl": string,
"displayName": string,
"profileImageUrl": string
},
"commentText": string,
"createdAt": datetime,
"amountMicros": unsigned long,
"currency": string,
"displayString": string
}
}
속성
다음 표는 이 리소스에 표시되는 속성을 정의합니다.
속성 |
kind |
string
API 리소스의 유형을 식별합니다. 값은 youtube#fanFundingEvent 입니다. |
etag |
etag
이 리소스의 Etag입니다. |
id |
string
YouTube가 팬 자금지원 이벤트를 고유하게 식별하기 위해 할당하는 ID입니다. |
snippet |
object
snippet 객체에는 팬 자금지원 이벤트에 대한 정보가 포함되어 있습니다. |
snippet.channelId |
string
자금을 받은 채널의 ID |
snippet.supporterDetails |
object
후원자의 채널에 대한 세부정보입니다. 이 객체는 후원자가 자금 지원 이벤트를 공개한 경우에만 표시됩니다. |
snippet.supporterDetails.channelId |
string
후원자의 YouTube 채널 ID입니다. |
snippet.supporterDetails.channelUrl |
string
후원자 채널의 URL입니다. |
snippet.supporterDetails.displayName |
string
후원자 채널의 표시 이름입니다. |
snippet.supporterDetails.profileImageUrl |
string
후원자 채널의 아바타 URL입니다. |
snippet.createdAt |
datetime 자금이 발생한 날짜 및 시간입니다. 값은 ISO 8601(YYYY-MM-DDThh:mm:ss.sZ ) 형식으로 지정됩니다. |
snippet.amountMicros |
unsigned long
자금 지원 이벤트에 기여한 금액입니다. 금액은 결제 통화의 마이크로(micro)입니다. 예를 들어 자금 지원자가 1달러 (1달러)를 제공했다면 snippet.amountMicros 속성 값은 1000000 입니다. |
snippet.currency |
string
결제 금액과 연결된 통화입니다. 값은 ISO 4217 통화 코드입니다. |
snippet.displayString |
string
자금과 통화를 표시하는 문자열입니다(표시용). fanFundingEvents.list 요청에서 hl 매개변수로 애플리케이션 언어를 지정한 경우 표시 문자열은 해당 언어로 표시되도록 현지화됩니다. 예를 들어 영어의 경우 통화가 $1.50 로 표시되지만 프랑스어의 경우 1,50$ 로 표시됩니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-02-22(UTC)
[null,null,["최종 업데이트: 2023-02-22(UTC)"],[[["\u003cp\u003eThe Fan Funding feature has been deprecated, and its API will be turned off on February 28, 2017, in conjunction with the launch of YouTube's Super Chat feature.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003efanFundingEvent\u003c/code\u003e resource represents a one-time, voluntary monetary payment from a user to a YouTube channel as part of the now deprecated Fan Funding feature.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003efanFundingEvents\u003c/code\u003e API supports a \u003ccode\u003elist\u003c/code\u003e method for retrieving fan funding events for a channel, which requires authorization from the channel owner.\u003c/p\u003e\n"],["\u003cp\u003eA \u003ccode\u003efanFundingEvent\u003c/code\u003e resource includes details such as the supporter's information (if made public), the amount funded, the currency used, and a display string of the funding amount.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esnippet\u003c/code\u003e object within the \u003ccode\u003efanFundingEvent\u003c/code\u003e resource contains information about the funding event, including the channel that received the funding, supporter details, comment text, and the date, time, and amount of the funding.\u003c/p\u003e\n"]]],["The Fan Funding feature is deprecated, with its API shutting down on February 28, 2017. The `fanFundingEvent` resource represents a voluntary, one-time payment to a YouTube channel. The API allows listing fan funding events for a channel via the `list` method, which requires channel owner authorization. Each event's data includes details like the supporter's channel ID, comment, and the funding amount, currency, and the display string. YouTube has released Super Chat as a replacement.\n"],null,["# FanFundingEvents\n\n**Note:** This is a deprecation announcement. \n\nThe Fan Funding feature has been deprecated, and the Fan Funding API will be turned off on February 28, 2017. This deprecation announcement coincides with the release of YouTube's new [Super Chat](https://youtube.googleblog.com/2017/01/can-we-chat-hello-super-chat.html) feature.\nA **fanFundingEvent** resource represents a Fan Funding event on a YouTube channel. Fan Funding provides a way to monetarily support YouTube creators. A Fan Funding event occurs when a user makes a one-time, voluntary payment to a channel. See the [YouTube Help Center](https://support.google.com/youtube/answer/6052077) to learn more about Fan Funding.\n\nMethods\n-------\n\nThe API supports the following methods for `fanFundingEvents` resources:\n\n[list](/youtube/v3/live/docs/fanFundingEvents/list)\n: Lists fan funding events for a channel. The API request must be authorized by the channel owner.\n [Try it now](/youtube/v3/live/docs/fanFundingEvents/list#try-it).\n\nResource representation\n-----------------------\n\nThe following JSON structure shows the format of a `fanFundingEvents` resource: \n\n```text\n{\n \"kind\": \"youtube#fanFundingEvent\",\n \"etag\": etag,\n \"id\": string,\n \"snippet\": {\n \"channelId\": string,\n \"supporterDetails\": {\n \"channelId\": string,\n \"channelUrl\": string,\n \"displayName\": string,\n \"profileImageUrl\": string\n },\n \"commentText\": string,\n \"createdAt\": datetime,\n \"amountMicros\": unsigned long,\n \"currency\": string,\n \"displayString\": string\n }\n}\n```\n\n### Properties\n\nThe following table defines the properties that appear in this resource:\n\n| Properties ||\n|--------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `kind` | `string` Identifies the API resource's type. The value will be `youtube#fanFundingEvent`. |\n| `etag` | `etag` The Etag of this resource. |\n| `id` | `string` The ID that YouTube assigns to uniquely identify the fan funding event. |\n| `snippet` | `object` The `snippet` object contains information about the fan funding event. |\n| snippet.`channelId` | `string` The ID of the channel that received the funding. |\n| snippet.`supporterDetails` | `object` Details about the supporter's channel. This object is only present if the supporter made the funding event public. |\n| snippet.supporterDetails.`channelId` | `string` The supporter's YouTube channel ID. |\n| snippet.supporterDetails.`channelUrl` | `string` The URL of the supporter's channel. |\n| snippet.supporterDetails.`displayName` | `string` The display name of the supporter's channel. |\n| snippet.supporterDetails.`profileImageUrl` | `string` The avatar URL for the supporter's channel. |\n| snippet.`commentText` | `string` The text contents of the supporter's comment. |\n| snippet.`createdAt` | `datetime` The date and time when the funding occurred. The value is specified in [ISO 8601](//www.w3.org/TR/NOTE-datetime) (`YYYY-MM-DDThh:mm:ss.sZ`) format. |\n| snippet.`amountMicros` | `unsigned long` The amount of money contributed in the funding event. The value is in micros of the funding currency. For example, if the funder contributed one dollar ($1), the `snippet.amountMicros` property value is `1000000`. |\n| snippet.`currency` | `string` The currency associated with the funding amount. The value is an [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. |\n| snippet.`displayString` | `string` A string, intended for display, that shows the fund amount and currency. If the `fanFundingEvents.list` request specified an application language with the [hl](/youtube/v3/live/docs/fanFundingEvents/list#hl) parameter, the display string is localized for display in that language. For example, in English, currency would be displayed as `$1.50`, but in French, it would be displayed as `1,50$`. |"]]