updated twitter/facebook loading features to be more generic