JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
<script>
$.getJSON('https://graph.facebook.com/10152418935306569/photos?fields=source&limit=999&access_token=這裡置入Graph API Explor申請的臨時Access Token試試看', function(url) {
var data = url.data;
var paging = url.paging;
for(var i = 0; i < data.length; i++)
{
$('#facebook-stuff').append('<img src="' + data[i].source + '" class="facebook-pics" id="pic' + i+1 + '"/>');
}
});
</script>
</head>
<body>
<div id="facebook-stuff">
</div>
</body>
</html>