PHP Class Horde_Service_Facebook_Videos, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/)
Author: Michael J. Rubinsky ([email protected])
Inheritance: extends Horde_Service_Facebook_Base
Mostra file Open project: horde/horde

Public Methods

Method Description
upload ( array $params = [] ) : array Uploads a video.

Method Details

upload() public method

Uploads a video.
public upload ( array $params = [] ) : array
$params array The parameter array. - file: (string) A local path to the file to upload. DEFAULT: none REQUIRED - caption: (string) The photo caption. DEFAULT: None. - uid: (string) The Facebook UID of where to post the video to. Normally a user id. DEFAULT: None (Will upload on behalf of the current user).
return array An array of user objects