added twitter&facebook processing