title: View Vimeo private video with an OAuth token
body: <p>Can anyone give a help in Vimeo API using scribe? My goal is to access a private video (which I uploaded) without having to force the user to put password (this process should be done in background).</p>
  
  <p>From what I understand / deduce from research is necessary:</p>
  
  <ol>
  <li><p>Request for application authorization using oAuth protocol and via the following link:</p>
  
  <p><code>https://vimeo.com/oauth/authorize?oauth_token=XXXX</code></p>
  
  <p>This operation is performed successfully and response data are sent to callback URL,
  something like:</p>
  
  <p><code>http://127.0.0.1:8001/XPTO.html?oauth_token=AUTH_TOKEN_EXAMPLE&amp;oauth_verifier=VERIFIIER__EXAMPLE"</code></p></li>
  <li><p><a href="http://vimeo.com/forums/api/topic:28279">According to Brad Dougherty</a> (Vimeo API Staff) it´s possible do something like that</p>
  
  <blockquote>
    <p>If you go through the OAuth process as yourself, you can save that token and use that to make the calls.</p>
  </blockquote></li>
  </ol>
  
  <p>I'm using this code:</p>
  
  <pre><code>service = new ServiceBuilder().provider(VimeoApi.class)
                  .apiKey("API_KEY_EXAMPLE")
                  .apiSecret("API_SECRET_EXAMPLE")
                  .build();
  
  OAuthRequest request = new OAuthRequest(Verb.GET,
          "http://vimeo.com/api/rest/v2?video_id=50305416");
  
  request.addQuerystringParameter("format", "json");
  request.addQuerystringParameter("method", "vimeo.videos.getInfo");
  
  String oauth_verifier=VERIFIER__EXAMPLE;
  Verifier verifier = new Verifier(oauth_verifier);
  
  //I've tried differents combination to create this token
  //I believe that my problem is HERE
  //One unsuccessfully try: Token requestToken = service.getRequestToken();
  Token requestToken = new Token(
          AUTH_TOKEN_EXAMPLE,
          API_SECRET_EXAMPLE);
  
  Token token = service.getAccessToken(requestToken, verifier);
  
  service.signRequest(token, request); 
  Response response = request.send();
  </code></pre>
  
  <p>I've the following error:</p>
  
  <blockquote>
    <p>Response body is incorrect. Can't extract token and secret from this: '401 Unauthorized - Invalid signature - The oauth_signature passed was not valid.'</p>
  </blockquote>
  
  <p>What's escaping me? This is the correct way to do it, right?</p>