Adapter capabilities

 User authenticationYES
 User profileYES
 User contacts listNO
 Post to user wall / update statusNO
 Access provider APIYES

Adapter specifications

 ID Vimeo
 Protocol OAuth 2.0
 IDp URL https://vimeo.com
 Keys registeration https://developer.vimeo.com/apps
 Dev documentation https://developer.vimeo.com/api
 Description The Vimeo API lets you quickly get lots of data about a user, video, group, channel, or album in a variety offormats.
 Wrapper ../additional-providers/hybridauth-vimeo/Providers/Vimeo.php
Callback URL http://mywebsite.com/path_to_hybridauth/?hauth.done=Vimeo

Configuration & Usage

<?php
    $config = array(
      "base_url" => "http://mywebsite.com/path/to/hybridauth/",
      "providers" => array(
        "Vimeo" => array(
          "enabled" => true,
          "keys"    => array("id" => "PUT_YOURS_HERE", "secret" => "PUT_YOURS_HERE"),
          "wrapper" => array(
            "path" => realpath(dirname(__FILE__) . "/../additional-providers/hybridauth-vimeo/Providers/Vimeo.php"),
            "class" => "Hybrid_Providers_Vimeo",
          ),
        ),
      ),
    );

    require_once( "/path/to/hybridauth/Hybrid/Auth.php" );

    $hybridauth = new Hybrid_Auth( $config );

    $adapter = $hybridauth->authenticate( "Vimeo" );

    $user_profile = $adapter->getUserProfile();

Registering application

  1. Go to https://developer.vimeo.com/apps and create a new application by clicking "Create App".
  2. Fill out any required fields such as the application name and description.
  3. Specify the domain to which your application will be returning after successfully authenticating. (i.e. http://mywebsite.com/path_to_hybridauth/?hauth.done=Vimeo)
  4. Once you have registered, copy and past the created application credentials (App ID and Secret) into the HybridAuth config file.