Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to generate Vimeo unauthenticated access token?

I am new to Vimeo's api, i am looking for a way to make unauthenticated requests. I find out that i will need to generate unauthenticated access token, but i don't see any option to do that in the Vimeo's apps console. Can anybody help?

like image 519
ambes Avatar asked Jan 07 '23 05:01

ambes


1 Answers

The auth header is no longer made available through the apps page on the Vimeo Developer site. Instead, you'll need to build the auth header yourself with the token encoded in base64 like so:

'Authorization: basic ' + base64(client_id + ':' + client_secret)

Where client_id and client_secret can be found on your apps page. The final header you should use will look like this:

Authorization: basic xxxxxxxxxxxxxxxxxxxxxxxxx
like image 68
Tommy Penner Avatar answered Jan 17 '23 14:01

Tommy Penner