public getInfo ( ) |
public function getInfo()
{
$this->apiUrl = 'https://www.facebook.com/plugins/post/oembed.json/';
if ($this->urlMatchesPattern($this->videoPatterns)) {
$this->apiUrl = 'https://www.facebook.com/plugins/video/oembed.json/';
}
return parent::getInfo();
}