using Vimeo API (OAuth2) from a desktop app

Phil Davis revdev at pdslabs.net
Mon Nov 24 18:27:32 EST 2014


Hey folks -

I need to write a Vimeo code lib so my desktop app can do stuff in a 
single Vimeo account - see a list of videos (with thumbnails), upload a 
video, get a video URL, etc. The API endpoints themselves are not a 
problem for me, but I'm stumbling on the initial OAuth2 handshake. My 
app is registered with Vimeo and I have the authorization info generated 
for it. The Vimeo API playground 
<https://developer.vimeo.com/api/playground/> is very helpful regarding 
API calls, but not so much on the initial login. The Vimeo docs 
<https://developer.vimeo.com/api> are written for those with more web 
dev experience than I have, so I need some help.

As I see it, I need a step-by-step rundown of the 
handshake/login/whatever process. Once I get as far as having the 
httpHeader I need for the first API request, I assume the headers won't 
change for subsequent requests. (I could be wrong but will cross that 
bridge when needed).

If you have experience with the new Vimeo API that uses oauth2, I would 
greatly appreciate any insights or steps you might wish to share.

Thanks -

-- 
Phil Davis




More information about the use-livecode mailing list