Thanks for visiting. Please take a look at my portfolio to get an idea of that kind of projects I’ve worked on in the past. Most of the Facebook applications I’ve developed are still available on Facebook today. If you want to find out more about me or simply want to leave a comment you can contact me here.
It’s been just over a week since I got my first Android 4.0 phone – the Samsung / Google Galaxy Nexus (SGN) – and I’m loving it! The SGN was my replacement for the Google Nexus One (GNO), which I’ve had since it was first released back in 2009. The improvement in the OS have been huge – my GNO was running Android 2.3.6 and some of the new features and changes in the UI have been a big plus on the SGN.
I came into a recent issue where I wanted to hide ?id=xx from the query string of a URL so I could use a single Facebook Comment Plugin with different data. I fixed the issue by using a few lines of code in a .htaccess file.
RewriteBase /
RewriteRule ^file-([0-9]+)\.php$ /some_directory/files.php?id=$1 [L]
The code above simply points URLs like file-1.php to a single PHP file, but modifies the query string to make files.php?id=1. This means I can hide the query string and make the Facebook Comment Plugin think each page is unique. Since Facebook doesn’t allow query strings in the plugin, this is a elegant solution to make it work.
If you have various password protected pages on your website, but want people to Like your pages (via Facebook), there is a simple trick you can use to allow this. You can detect the Facebook Scraper by its User Agent and serve up an alternative page that contains the OpenGraph markup you would like to use.



































