Cleaned up facebook posting code
Cleaned up twitter code