Poland President Andrzej Duda has been urged to review the security of his social media accounts after a peculiar tweet appeared and was quickly deleted.