fixed bugs

Twitter is giving error accessing link via http
Merge pull request #1 from vivekkiran/patch-1

fixed bugs