By Nitin on May 8, 2010
I discussed a little about URL encoding in my recent post Facebook: Bug with URL encoding, although it seems like the bug still exists. In this post I will discuss “how to encode a given URL before accessing it using CURL or fsockopen”. The problem with URLs is that they might contain certain disallowed characters [...]
Posted in Nitin's Blog | Tagged encoding, facebook, php, URL
By Nitin on March 12, 2010
Today, while I was working on the URL encoding for the recently released Facebook-style Links module, I realized a bug with Link Attachments feature on Facebook. Before I explain, let us reproduce it: Try to attach the following link on Facebook: http://google.com/search?q=blenders%26pride. This URL actually queries Google for ‘blenders&pride’. Facebook converts/encodes the above URL to [...]
Posted in Drupal, Nitin's Blog | Tagged bug, encoding, facebook, fbsl