Remove twitter function
Merge branch 'issue/22499'