This is a repost from the vimeo forum, but since nobody is answering over there, I try my luck here:
I have been trying for some hours now to get my head around the whole oAuth thing, but I don't seem to get it working. I want to retrieve thumbnails for private videos, using the advanced vimeo api. This is what I have right now:
$vimeo = new phpVimeo($consumer_key, $consumer_secret, $access_token, $access_token_secret);
$result = $vimeo->call('vimeo.videos.getThumbnailUrls', array('video_id ' => $video_id));
When I try it like this, I keep getting the error
"Fatal error: Uncaught exception 'VimeoAPIException' with message 'Invalid signature' ".
I'm absolutely positive that the keys and secrets are correct. Do I have to do more to make this thing work? Of course, it would be amazing to have an example where I just have to put in all my key data in and it works.
thanks in advance!
If you use the Vimeo API in your custom applications and/or are caching your video thumbnail's URL, your thumbnails may no longer be appearing in the video player, particularly in cases where your thumbnail URLs were hard-coded in an application or site which therefore means the link structure will not be updated ...
In the Vimeo video manager, select your video, then click Settings to the right of the player. 3. Under the General tab, scroll down and click on Edit thumbnail.
Only public showcases and showcases set to Hide from Vimeo can be embedded, as password-protected showcases cannot be. Also, only videos with a privacy setting of Anyone or Hide this video from Vimeo.com can be displayed in an embedded playlist.
php-vimeo-video-thumbnail-url.php * Gets the thumbnail url for a vimeo video using the video id. This only works for public videos. * @param string $id The video id. * @param string $thumbType Thumbnail image size.
There are a couple of ways to help troubleshoot your signature errors. First I want to explain some terminology.
Troubleshooting
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With