added method to store only facebook and twitter messages