Skip to content

Instantly share code, notes, and snippets.

@abeMedia
abeMedia / index.php
Last active Aug 29, 2015
Get all Facebook albums & photos of a user
View index.php
<?php
/**
* Get Facebook Open Graph data.
*/
function getdata($path) {
$url = "http://graph.facebook.com/$path";
$data = json_decode(file_get_contents($url));
return ($data->data?:$data);
@abeMedia
abeMedia / datatables.css
Created Mar 9, 2014
jQuery Datatables Boostrap 3 CSS
View datatables.css
div.dataTables_length label {
font-weight: normal;
float: left;
text-align: left;
}
div.dataTables_length select {
width: 75px;
}