This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* REQUIRES: TwitterOAuth | |
* https://github.com/abraham/twitteroauth/tree/master/twitteroauth | |
* | |
* Download and place in a /twitteroauth/ folder in your theme/plugin. | |
* | |
* | |
* Full guide here: http://www.problogdesign.com/wordpress/authenticate-your-twitter-api-calls-before-march/ | |
* | |
* Uses: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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. supported sizes: small, medium (default) and large. | |
* | |
* @return string|bool |