Video tags no longer available through YouTube API?

About a month ago, YouTube decided to get rid of the “tags” from the external interface of its website: http://youtubecreator.blogspot.com/2012/08/tags-removed-from-video-watch-pages.html

Which also, in turn, left media: keywords blank through any API feed request, like here: http://apiblog.youtube.com/2012/08/video-tags-just-for-uploaders.html

The good thing was another month or so (until a few days ago) you could still access the video “tags” or “keywords” through the API by going to the category (s) term

YouTube seems to have removed this too, and now it only displays one category term for each API feed ... and most of the time they are the main YouTube categories such as "Music" or "People", etc.

My questions to the YouTube development team: why was this taken away from the API (I understand that it was removed from the website’s interface), and will it ever return in any form of the API?


In the original creators blog, you guys stated:

"Tags remain an important way to organize and help other users find your videos. We strongly recommend that you continue to tag your videos - this will help increase your audience by improving the accessibility of your content."

So, if tags are still important and still used for search results ... why are they no longer available through the API in the world?


Any help and / or information would be highly appreciated, since this completely destroyed the functionality of MANY of my sites! Thanks.

+4
source share
3 answers

It looks like they made them confidential, and you should use an authorized API request with the appropriate channel privileges to access them now. This really sucks, because I used them to filter the video from the channel on the site and for authorized connections to the API via PHP it was difficult for me to work correctly. And the fact that this added complication ONLY for keywords seems a bit ridiculous, but I don't think the Youtube API team cares.

If ALL of the people complain about it, I doubt that they will add it as an audience.

+3
source

I just added

Update: this change also applies to the category Scheme = "http://gdata.youtube.com/schemas/2007/keywords.cat"> tags that were not mentioned in the original ad.

in message announcement . <& category GT; tags must be removed for the same reason <media: keywords> was deleted, but due to an oversight, they remained in the API responses without authentication for several weeks. It is planned not to add keyword information through the metadata field.

+1
source

If your goal is to have some semantics in the video, Freebase themes can help. For example, you can call a JSONp call

<script src="https://www.googleapis.com/freebase/v1/topic${item}?filter=/type/object/name&callback=putFBname"></script> 

with a little javascript function

 <script> function putFBname(respuesta){ span=document.getElementById(respuesta["id"]); span.innerHTML=" "+respuesta["property"]["/type/object/name"]["values"][0]["text"]; } </script> 

to get the title of the topic.

Themes in Freebase come with the v3 API.

0
source

Source: https://habr.com/ru/post/1435135/


All Articles