I am working on an app that needs to pull caption data for Youtube videos, in particular ASR captions. I am using the Youtube v3 API to do this. However, when I send a GET request to pull caption data from a video ID (caption_list), I am told,
"The permissions associated with the request are not sufficient to download the caption track. The request might not be properly authorized, or the video order might not have enabled third-party contributions for this caption."
My question is if there is a way to pull captions from videos with ASR captions with the Youtube API (for which I have a client ID, a client secret, and an API key) without being the owner of the video. I need this to be done via an HTTP request and not a local download, as I intent to open the caption file and do other things with it via python code
Thanks!
Related
Is there any way to auto-aupload photos to my website, when they are published on Instagram?
You can use Instagram API to check for new content and upload to your website:
https://api.instagram.com/v1/users/self/?access_token=ACCESS-TOKEN
Since you need to access only your content, you dont need to get reviewed by Instagram, you will have access to latest 20 images using API in sandbox mode, write script on your server to check for API once a day and update your website.
For a client of mine I used the Soundcloud API to show tracks on his website.
now it had stopped working, the API returns 0 tracks.
https://api.soundcloud.com/users/1525250/tracks?client_id=dec73200bd1c369969eb9df50f4a190b
I checked his account and all tracks have the right permissions.
,
What am I doing wrong?
(website of client) eelkekleijn.nl
All rate limits on the SoundCloud API are currently calculated against a client application's client id so you need to change your application client id
Read More
Eg.
https://api.soundcloud.com/users/1525250/tracks?client_id=02gUJC0hH2ct1EGOcYXQIzRFU91c72Ea
SoundCloud allows certain users to block API requests. In this case, this user has blocked the ability to view their information via the SoundCloud API.
The only way around this is to use an API Key internal to SoundCloud, such as the one youtube-dl uses to download tracks.
i am developing an app on which i want, end user can access my youtube-playlist(and videos among them). i have the full access of the youtube channel, just want the users to access them. I am using objective c client library for youtube v3.
what i have done:
auth 2 authentication for end user
api call to youtube server using my client id and secret.
Currently i am getting Like, upload, watch history etc. of my channel from another user(end user) but only the id, not any link of video of related playlist.
When i login using my credential of youtube on my app i get all the video links, but when i login using another youtube id then i don't get the video links. can not figure it out why this is happening.
Basically i just want some suggestion or direction on the following:
is it possible to share my youtube-playlist to others(end user)?
if possible then can the user can access the videos of the channel? if so how?
Thank you.
I was misunderstanding the concept. Any playlist/video that is publically visible on youtube, then just the ID for corresponding playlist/video is needed.
One has to make the query request to youtube server based on the ID of the resource he want to fetch.
Basically my Client ID and Secret are using on my app to get the details use of the app, meaning how much api is calling(you can get it on the console of your project).
I want to achieve the same as Hootsuite, publish a post in a PAGE STREAM. But I don't know even where to look for it. It looks like Hootsuite is using the API, because they prompt an open Auth authentication where the user selects and authorize what this APP can do with his data.
With the PHP client I've been able of posting in the user APP stream (different from the user main stream) using moments class, and get data from the user using plus class client, both from the PHP library available here: https://code.google.com/p/google-api-php-client/source/checkout
But I don't know how to write in a user's page. Does anyone knows or can point me where to go to, at least, publish on main Google+ page stream as Hootsuite? Thanks.
The Google+ Pages API is currently available to a limited number of parters only, including HootSuite. You can request access to the API at https://developers.google.com/+/api/pages-signup but there is no guarantee when, or even if, Google will approve your access.
Although you can use the HootSuite console to post messages to Google+ pages (see http://hootsuite.com/google+), it isn't clear if you can use the HootSuite API to do so.
How to get the videos in Listview with all the video details like views title author description dislikes likes favorites tags
Thanks in advance!
Developer's Guide: .NET
The YouTube Data API allows client applications to retrieve and update YouTube content in the form of Google Data API feeds. Your client application can use the YouTube Data API to fetch video feeds, comments, responses, and playlists, as well as query for videos that match particular criteria. You can also use the API to make authenticated requests to modify this information and to upload new video content to the site.
Retrieving standard feeds: Videos uploaded by a specific user
For each YouTube user, the YouTube Data API defines a video feed that lists the videos that the user has uploaded. The video feed for a user's uploaded videos can be retrieved from the following URL:
http://gdata.youtube.com/feeds/api/users/username/uploads
You can also retrieve a specific entry for an uploaded video by sending an API request to the following URL:
http://gdata.youtube.com/feeds/api/users/username/uploads/VIDEO_ID
The following code demonstrates how to retrieve a feed of videos uploaded by a particular user:
Uri uri =
new Uri("http://gdata.youtube.com/feeds/api/users/GoogleDevelopers/uploads");
Feed<Video> videoFeed = request.Get<Video>(uri);
printVideoFeed(videoFeed);
In the feed URL, you can use the string default instead of a username to retrieve the videos uploaded by the currently authenticated user. In that case, you would retrieve the feed located at http://gdata.youtube.com/feeds/api/users/default/uploads.
In addition, when you retrieve the uploaded videos feed or a specific entry from that feed for the currently authenticated user, the feed entries (or the single entry) will be editable using the client library code. See the Identifying_Editable_Video_Entries section for more details.