Я пытаюсь получить всю информацию о канале в своей учетной записи YouTube с помощью YouTube API v3 в Android. Вот код того же.
YouTube youtube = new YouTube.Builder(transport, jsonFactory,
credential).setApplicationName(Constants.APP_NAME)
.build();
ChannelListResponse clr = youtube.channels()
.list("contentDetails").setMine(true).execute();
Log.d("","Channel count = "+clr.getItems().size());
В настоящее время я настроил под своей учетной записью 2 канала. Но в приведенной выше строке всегда отображается счетчик каналов как 1.
Есть идеи, как получить всю информацию о канале с помощью API?
Заранее спасибо.