Adapter capabilities
User authentication YES
User profile YES
User contacts list NO
Post to user wall / update status NO
Access provider API YES
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
Go to https://developer.vimeo.com/apps and create
a new application by clicking "Create App".
Fill out any required fields such as the application name and description.
Specify the domain to which your application will be returning after successfully authenticating. (i.e.
http://mywebsite.com/path_to_hybridauth/?hauth.done=Vimeo
)
Once you have registered, copy and past the created application credentials (App ID and Secret) into the
HybridAuth config file .
HybridAuth Open Source PHP Social Sign On Library, © 2009-2015.
Code licensed under dual licence MIT and GPLv3 , documentation under CC BY 4.0 .
HybridAuth website was made using Bootstrap and jQuery . Project hosting provided by Github .