Vimeo API php connection issues -


i utilizing vimeo api try , display videos. have set-up app on developer.vimeo.com/apps/, while creating authentication tokens app. have downloaded , included vimeo-php api found here, still having no luck display anything, let alone specific video, group, etc. have posted simple steps recommended on github authenticate vimeo believe missing along way.

/*includeds @ top of file */  include("../vimeo/autoload.php");  //following variables developer.vimeo.com/apps/myappid $client_id = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; $client_secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; $clienttoken = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';  $lib = new vimeo($client_id, $client_secret, $clienttoken); $search_results = $lib->request('/videos', array('page' => 1, 'per_page' => 50, 'query' => urlencode($_get['query']), 'sort' => 'relevant', 'direction' => 'desc', 'filter' => 'cc')); return $search_results; 


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -