Revert "twitter: Simplify output code."

This reverts commit f7df16a3f5c95c00e180bbff00edfc434a4f9110.