Extract tweet logic.