improve twitter integration