Added abspath check to social example.
Removed some code in st page class.