2

In its API Vimeo engineers are claiming that we should be able to search without access token, I have spent hours and unfortunately cannot get it to work, I'm not sure if I'm doing something wrong, So please help if you have done this before.

OAuthService service = new     ServiceBuilder().provider(VimeoApi.class).apiKey(consumerString).apiSecret(consumerSecret).build();

OAuthRequest myrequest = new OAuthRequest(Verb.GET,"http://vimeo.com/api/rest/v2format=json&method=vimeo.videos.search&query=fun");

Token mytoken = new Token("", consumerSecret);
service.signRequest(mytoken, myrequest); 
Response response = myrequest.send();

Thanks

nightograph
  • 2,179
  • 5
  • 31
  • 49

1 Answers1

5

change this:

Token mytoken = new Token("", consumerSecret);

for this:

Token mytoken = new Token("", "");
Pablo Fernandez
  • 103,170
  • 56
  • 192
  • 232
  • fantastic Pablo, that worked! thank you very much for creating scribe - great work! – nightograph Oct 26 '11 at 18:04
  • I am using client id as api key and client secret as apisecret.....but getting below mentioned response: {"generated_in":"0.0050","stat":"fail","err":{"code":"401","expl":"The oauth_signature passed was not valid.","msg":"Invalid signature"}} – Ankit Adlakha Jun 10 '17 at 08:11