German Green party co-chief Robert Habeck has said goodbye to Twitter and Facebook.