Create unique slugs for URLs using PHP and Python

With every geek on Quora, it has become a place where people are asking all kinds of weird questions and that too again and again. If anyone observes the URLs, you would notice something called slugs. Slugs in the URLs are SEO friendly. By SEO friendly, it means that a URL like http://xyz.com/what-is-spice-forms is much better than than an id based url like this http://xyz.com/post/4. The what-is-spice-forms portion in URL is called slug. It points to exactly /post/4 and hence, acts as an alias. (more…)

Read More

Facebook Graph API – The OAuth Token explained

I still remember the days when few of the apps built to modify emails, wanted the username and password of the user to fetch their information. It was always unsafe, even when websites promised a lot. Basically, it was a violation of privacy, giving third party websites full control of the entire account. The biggest loophole was that if they changed the password of your account, it would be lost forever and you were bound completely without any legal support. (more…)

Read More