The German city-state of Hamburg on Friday said it was working with Irish data protection authorities to stop the spread of German politicians' data via the social media platform Twitter .