martin-booxi / google-apis-explorer

Automatically exported from code.google.com/p/google-apis-explorer
Apache License 2.0
0 stars 0 forks source link

YouTube V3 Search API videoEmbeddable doesn't work #120

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
For the following URL - the following does not work with either the field set 
to true or any
GET 
https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=20&q=maru&v
ideoEmbeddable=true&key={YOUR_API_KEY}

It gives this response:

{
 "error": {
  "errors": [
   {
    "domain": "youtube.search",
    "reason": "invalidSearchFilter",
    "message": "Invalid combination of search filters and/or restrictions.",
    "locationType": "parameter",
    "location": ""
   }
  ],
  "code": 400,
  "message": "Invalid combination of search filters and/or restrictions."
 }
}

It was generated from the google api explorer

Original issue reported on code.google.com by i...@dayjam.com on 20 Nov 2013 at 6:56

GoogleCodeExporter commented 8 years ago
Wouldn't the videoEmbeddable parameter need to be combined with type=video?

&type=video&videoEmbeddable=true

It still doesn't seem to work as non-embeddable videos aren't filtered, see 
here: 
http://stackoverflow.com/questions/19175720/youtube-api-v3-filtering-embeddable-
videos

Original comment by oliver.h...@gmail.com on 28 Apr 2015 at 5:30