Reinstate Twitter functionality

Fixes #