A 22-year-old man from the south of the country has been arrested for threats he made on social media against the President, Prime Minister, and other government ministers.