I have this code:
我有这个代码:
$(document).ready(function() {
var url = "https://graph.facebook.com/search?q=cinema&type=post";
$.ajax({
type: "POST",
url: url,
dataType: "jsonp",
success: function(msg){
console.log( msg );
$.each( msg.data , function(i,obj){
$('#cinemas').append(obj.message + '<br />');
});
}
});
});
$(document).ready