I have this code:
<script type="text/javascript">
$(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(obj){
$('#cinemas').append(obj.message);
});
}
});
});
</script>
Yet nothing is displayed, can anyone spot anything obviously wrong with this?
Thanks
$.eachneeds(index, value)http://jsfiddle.net/AlienWebguy/q8b7Q/1/