Pregunta

Man it seems improbably difficult just to get a URL that searches Vimeo videos. They've got feed URLs to get specific users' videos, or info on a specific video, but seemingly not for a generic video search.

From other posts and the docs, I eventually came up with this:

https://api.vimeo.com/videos?query=vimeo&client_id=xxxxxxxxxxxxxx

...where client_id is valid (having registered my app).

However that yields an error that...

the app is not allowed to perform that action.

Any thoughts?

¿Fue útil?

Solución

Edit - All API Apps now have access to the beta API by default. If you encounter this error it's a different issue, and you should contact Vimeo at https://vimeo.com/help/contact

It looks like you are trying to use API3.

Currently API3 is in beta, and has to be explicitly enabled by going to the url to edit your app : "developer.vimeo.com/apps/:id/edit" and add the querystring "?oauth2=enabled".

Your final URL should look like "developer.vimeo.com/apps/:id/edit?oauth2=enabled". Now save your app again with the new "OAuth 2" check box clicked and try your search request again.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top