All Questions
Tagged with youtube-data-api java
214
questions
0
votes
0
answers
78
views
How to fix the runtime issue in YouTube Data API v3 OAuth classes instantiation (runtime) issue when compiled to native using GraalVM?
How to fix below runtime issue with YouTube Data API v3 failing to instantiate the Google OAuth class (oauth2.GoogleClientSecrets) when compiled to the native binaries using the GraalVM? Here's the ...
4
votes
1
answer
113
views
How do I add the original file name to a YouTube API video upload?
How do I set the file name for my YouTube video uploads?
I am uploading via the videos.insert endpoint in the YouTube v3 API.
If I omit the fileDetails part, everything else works as expected.
I tried ...
0
votes
1
answer
2k
views
403 Forbidden: Method doesn't allow unregistered callers (callers without established identity) while using Youtube Playlist list API
I am trying to fetch playlist by channel, When I try to test it I am getting 403 access denied, but I have enabled api youtube api v3 while generating API Key. I have attached the error log below.
...
1
vote
1
answer
41
views
Search List returned multiple channels
I trying to send this request to get the channel
request = youtube.search().list("snippet");
request.setMaxResults(50);
request.setQ(channelName);
request.setType("channel");
we ...
0
votes
0
answers
33
views
youtube v3 channel list API returns missing channels
i'm trying to retrieve all channels for a specific user, using the channels list API google-api-services-youtube-v3-rev133-1.20.0:
youTube.channels().list("id,snippet,contentDetails")....
0
votes
0
answers
56
views
Discrepancy in Video Data From Activity Reports
I trying to send this request to get the activity data:
YouTube.Activities.List activitiesListByIdRequest = youtubeService.activities().list(Collections.singletonList("contentDetails"));
...
0
votes
1
answer
30
views
Search list - Query term
I tried to execute this code to get the Search list:
YouTube.Search.List searchList =youtubeService.search().list("snippet");
searchList.setMaxResults(50);
searchList.setQ("channelName&...
0
votes
0
answers
31
views
Youtube API - Paging issue
we using this API: google-api-services-youtube-v3-rev20221108-2.0.0.jar
to get the list of the channels:
this is the request we send:
YouTube.Search.List searchList =youtubeService.search().list("...
0
votes
0
answers
168
views
How to upload a youtube video using youtube data v3 api with android studio
I have been searching for a way to upload a youtube video with api, I found youtube data v3, created cloud application, added oauth and got the api keys, I also created credentials (client id and ...
0
votes
0
answers
128
views
How do I solve getting ACCESS_TOKEN_SCOPE_INSUFFICIENT exception using Google/YouTube API?
I am creating a website using Spring Boot 2.7.9 (Spring 5) that is making calls to the YouTube API (via an Open Feign interface). Right now, I'm just trying to successfully call getRatings, using the ...
0
votes
1
answer
58
views
Do I have to Google Sign everytime to upload a Video to Youtbe using Java?
public static Credential authorize(final NetHttpTransport httpTransport) throws IOException {
InputStream in = new FileInputStream(CLIENT_SECRETS);
GoogleClientSecrets clientSecrets =
...
0
votes
0
answers
43
views
Unable to set YouTube Video Title Programmatically using Java (Getting 500 and 405 Errors)
I'm working on a project where I'm utilizing the YouTube API v3 through Cloud Console using Java to update video titles programmatically. Despite successfully retrieving video properties like number ...
1
vote
0
answers
506
views
Youtube live url not working in media3 Exo Player - Android Java
We have a requirement to show live streaming in android app for specific users only.
Currently normal videos are playing fine but stream / live URL is not working.
Tried each video format in MIME Type ...
0
votes
1
answer
175
views
Getting 400 when uploading video with YouTube API
When trying to upload a video using YouTube Data API, I get:
Exception in thread "main" com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
POST https://www....
1
vote
1
answer
533
views
Ensure that video uploaded through API in youtube is public (not marked as private)
I have seen multiple questions from different timelines but I want to know if that's even possible now i.e. in May 2022.
Everytime I upload a video in youtube using the API i.e. google-api-services ...