add error callback on twitter request