Instagram extends Oembed
Table of Contents
Constants
- OEMBED_TYPE_JSON = "application/json+oembed"
- OEMBED_TYPE_XML = "text/xml+oembed"
Methods
- handle() : mixed
- Downloads and parses HTML's document metadata, formatted with oEmbed standard.
Constants
OEMBED_TYPE_JSON
public
mixed
OEMBED_TYPE_JSON
= "application/json+oembed"
OEMBED_TYPE_XML
public
mixed
OEMBED_TYPE_XML
= "text/xml+oembed"
Methods
handle()
Downloads and parses HTML's document metadata, formatted with oEmbed standard.
public
handle(HtmlDocument $document[, HttpClient|null $httpClient = null ]) : mixed
Parameters
- $document : HtmlDocument
-
HTML document.
- $httpClient : HttpClient|null = null