Youtube and Twitch channel name maximum character limit

时间:2016-02-12 21:15:52

标签: youtube youtube-api twitch

I am trying to find docs to figure out what the max limit is for YouTube and twitch channel names, but I am unable to find one.

This post suggests it's 20 but this post is like 3 years old. Plus the official YouTube API page doesn't list anything like that. Does anyone know what the limits are?

2 个答案:

答案 0 :(得分:2)

As of the YouTube V3 API, when creating a new channel, your channel name comes from your Google Account name:

First and last names support unicode/UTF-8 characters, with a maximum of 60 characters.

Name and password guidelines

The API docs only explicitly disclose the maximum number of characters for a video title (100) and a channel description (1000).

I don't believe this information is available for Twitch through their API.

答案 1 :(得分:0)

抽搐

根据this reddit postthis post on the Twitch Developer Forums

  • 4至25个字符
  • 字母,数字,下划线

引用reddit答案,有效的用户名似乎是由正则表达式定义的:

EXECUTE format('UPDATE %I.%I SET %I = REPLACE(%I, $2, $3)', 
                matching.schemaname, 
                matching.tablename,
                matching.columnname,
                matching.columnname)
  USING regex, replacement;

注意:

  • 这两个来源都不是官方文档,但是看起来都可信
  • Twitch上的用户名等于频道名称,但与显示名称不同