All posts tagged in PHP

  • Get number of likes of your/any Facebook page via PHP

    January 24, 2012

    If you want to use somewhere the number of people who likes your fan page, here’s the way to do that: Create Create a new basic application from here. Just enter some data and you will receive AppID and Secret keys. Download Download the PHP library to work with Facebook API. git clone Write

  • Quick short URL PHP function

    August 27, 2010

    function shortURL($long) { $short=file_get_contents("".$long); return $short; } Usage: $short = shortURL("http://veryveryveryverylongurl.tld/something/verylong.php"); echo $short;