Note that there are some explanatory texts on larger screens.

plurals
  1. POCan I have a server web app layer get an accessToken with oauth, vimeo, and scribe?
    text
    copied!<p>I want to build a java web app which can be queried via ajax to ask for a various vimeo data like albums, videos, etc. The browser client side will then use this information to create a vimeo player with the data like the video url, sizes, etc. I don't want each user to have to verify access to vimeo, I want the server to act as the middle man to n users on browsers. </p> <p>I started using the scribe api to oauth and at first I thought after I get a authorization url I could copy that into a browser then get a verifier code and hardwire the request token and verifier code into the service.getAccessToken() call. This worked fine for my testing. however, when I returned the next day the request token I hardwired stopped working with a 401 - possibly expired oauth token. </p> <p>So if the token can expire my question is do I have to get a new access token for every user session and check to see if it's expired with some frequency? If I have to get a new access token with every user, then how would the server get the verifier code? Normally a user would go thru the browser pages and get the verifier code that way but it seems like there should be a way to allow the server to get this verifier code. Seems like I could write some java network code to parse and post these pages but that just doesn't sound right.</p> <p>I'm new to oauth and the vimeo api so I could be thinking about this in the wrong way so alternative directions would be appreciated too.</p> <p>Thanks, Miro</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload