Social API — Facebook video post

This method will return data about a Facebook video post.



Query Parameters

url: required. The URL of a facebook video, eg,

Example request

$ curl

Example response

Please note this response is truncated
  "data": {
    "author_name": "British GQ",
    "author_url": "",
    "height": 281,
    "html": "...",
    "provider_name": "Facebook",
    "provider_url": "",
    "success": true,
    "type": "video",
    "url": "",
    "version": "1.0",
    "width": 500

Error handling

If the given url is not recognised by Facebook, a 500 response will be returned.

Example error response

  "error": "Failed to find facebook video/post"

If the url query string parameter is not supplied, a 400 response will be returned

Example error response

  "error": "Invalid url argument"