\Horde_Service_Facebook_Videos

Videos methods

Copyright 2009-2017 Horde LLC (http://www.horde.org/)

Summary

Methods
Properties
Constants
__construct()
upload()
No public properties found
No constants found
No protected methods found
$_facebook
$_http
N/A
No private methods found
No private properties found
N/A

Properties

$_http

$_http : \Horde_Http_Client

Type

\Horde_Http_Client

Methods

__construct()

__construct(\Horde_Service_Facebook  $facebook) 

Constructor

Parameters

\Horde_Service_Facebook $facebook

upload()

upload(array  $params = array()) : array

Uploads a video.

Parameters

array $params

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).

Returns

array —

An array of user objects