forked from GNUsocial/gnu-social
[Embed] Using oscarotero/Embed as first attempt to get oEmbed/OpenGraph data, fallback
to previous implementation otherwise.
This commit is contained in:
committed by
Diogo Cordeiro
parent
b25632ebc4
commit
462ea26303
@@ -51,7 +51,7 @@ $url = get_option_value('u', 'url');
|
||||
|
||||
print "Contacting URL\n";
|
||||
|
||||
$oEmbed = oEmbedHelper::getObject($url);
|
||||
$oEmbed = EmbedHelper::getObject($url);
|
||||
var_dump($oEmbed);
|
||||
|
||||
print "\nDONE.\n";
|
||||
|
Reference in New Issue
Block a user