This operation renders a video and uploads the video to Facebook
var parameters = { ProjectId: 'STRING_VALUE', // required Movie: 'STRING_VALUE', // required Params: {key: value, ...}, // required Format: 'STRING_VALUE', // required OAuthAccessToken: 'STRING_VALUE', // required Async: true || false, Title: 'STRING_VALUE', Description: 'STRING_VALUE', Caption: 'STRING_VALUE', Name: 'STRING_VALUE' } render.renderToFacebook(parameters, function(err, data) { if(err) { console.log(err); // an error occurred } else { console.log(data); // successful response } });
ProjectId | string | A Project ID |
Movie | string | Movie to render |
Params | map | Render Parameters |
Format | string | Format to Render |
OAuthAccessToken | string | Facebook OAuth 2.0 access token |
Async | boolean | Perform Async |
Title | string | Video title |
Description | string | Video description |
Caption | string | Video caption |
Name | string | Video name |
err
(Error) - the error object returned from the request. Set to null if the request is successful.
data
(Object) — the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:
Token
(string)Upload
(string)
Terms of Use | © 2017, Impossible Software, or its affiliates.