通过 API 向 YouTube 频道发送消息
Send a message to a YouTube Channel via API
我正在通过 YouTube API 检索 YouTube 频道 ID,但我想以某种方式联系(发送消息)该频道。我注意到一些 YouTube 频道在 "About" 选项卡中有一个 "Send message" 按钮,但有些没有,而在 YouTube API v3 中没有任何相关内容。
我认为的另一种可能性是检索与 YouTube 频道相关联的 Google+ ID,但是 API 同样没有提供发送消息的方式。
最后一个选择是获取 Google 帐户的电子邮件,但由于隐私规则,我认为这是不可能的。
遗憾的是,YouTube Messages and video sharing API has been deprecated 在 v3 API 中没有替换界面。
大多数 YouTube 频道现在都与 Google 帐户相关联。一个潜在的解决方法是使用 channels/list
endpoint, seeing if a Google+ Account has been linked, and looking up the resulting user id with the Google+ API with the people/get
方法请求有关频道的信息。
我正在通过 YouTube API 检索 YouTube 频道 ID,但我想以某种方式联系(发送消息)该频道。我注意到一些 YouTube 频道在 "About" 选项卡中有一个 "Send message" 按钮,但有些没有,而在 YouTube API v3 中没有任何相关内容。
我认为的另一种可能性是检索与 YouTube 频道相关联的 Google+ ID,但是 API 同样没有提供发送消息的方式。
最后一个选择是获取 Google 帐户的电子邮件,但由于隐私规则,我认为这是不可能的。
遗憾的是,YouTube Messages and video sharing API has been deprecated 在 v3 API 中没有替换界面。
大多数 YouTube 频道现在都与 Google 帐户相关联。一个潜在的解决方法是使用 channels/list
endpoint, seeing if a Google+ Account has been linked, and looking up the resulting user id with the Google+ API with the people/get
方法请求有关频道的信息。