Vimeo
Available on Social controller.
We can retrieve these data:
- User albums ( feed of feed)
- User videos (feed of external link)
- Channel (feed of external link)
Controller's action
- vimeoGetToken()
- Retrieve the bearer authentication token for futher request
- vimeoPagingCrawler($uri,$olddata,$token)
- Get max 250 items from a vimeo request. Each page can return max 50items.
- $uri -> vimeo api endpoint
- $olddata -> partial array with first datas
- $token -> auth token
- VimeoGeneratefeed($userid,$albumid)
- Used if type of request is useralbums (feed of feed); generate the inner feed with the contents.
- $userid -> the user id.
- $albumid -> id of the album required
- vimeo($urlparameter,$type="channel")
- $urlparameter
- is the first parameter can work as
- userid if type is not channel
- channelid if type is channel
- is the first parameter can work as
- $type
- channel
- Retrieve all videos as rss feed from the channel provvided in $urlparameter
- user
- Retrieve all video as rss feed from the user provvided in $urlparameter
- useralbums
- Retrieve a feed of feed from user provvided in $urlparameter.
- External feed : Albums
- Internal feed : Albums's video
- Retrieve a feed of feed from user provvided in $urlparameter.
- channel
- $urlparameter
A test version is available into the app 367365 ->Social -> Vimeo.