Now there are a lot of scripts to get facebook data from url, but all of them work only in combination of jQuery and PHP. Is it possible to get only jQuery url?
I found here how to get the mata tags of the page:
$('meta[name=description]').attr("content");
$("meta[property=og:title]").attr("content", document.title);
But how to correctly insert this query into jQuery.get () to get text values?
$.get('http://www.imdb.com/title/tt1375666/', function(data) {
$('meta[name=adescription]').attr("content");
});
And if the most popular sites use OpenGraph, should I look in the direction of jQuery.getJSON ()?
source
share