Question

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

Was it helpful?

Solution

change this:

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

for this:

Token mytoken = new Token("", "");
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top