More work on twitter functionality