The Foreign Secretary said successive prime ministers were not briefed on tweets dating back as far as 2010 and civil servants were also unaware.