Closed berdesos closed 10 years ago
To answer my own question:
<?php require_once('OpenGraph.php');
$graph = OpenGraph::fetch('http://www.rottentomatoes.com/m/10011268-oceans/'); $image_url = $graph->image; echo $image_url; ?>
How echo og:image:type ??
Very useful library! How do you echo just the og:image link though? Thank you