1

Surprisingly, YouTube's Data API only gives the display name of the author with each video in a video feed. The display name is not unique. This is very annoying. I need the unique username for various reasons. One of which, is to construct the URL for that user's profile/channel.

How might I get the username of the author (as opposed to the non-unique display name) of a YouTube video?

4

1 回答 1

2

snippet.channelId是视频上传到的唯一频道。这就是你要找的。有关channelId 与 username的更多信息。

于 2013-07-02T21:56:51.870 回答