If you are a political leader and are afraid of Facebook and Youtube, then you are afraid of your own people. In the case of Erdogan, he is just another Muslim Brotherhood goon trying to tighten the screws on society to slowly squeeze Turkey into becoming an Islamic Republic. His first move to achieve this was jailing thousands of officers in the Turkish military, who were schooled in the thoughts of Kemal Atatürk, the "Father of the Turks".
As a brief description of what Kemal Atatürk was all about, I'll just lift this from Wikipedia:
His military campaigns led to victory in the Turkish War of Independence. Atatürk then embarked upon a program of political, economic, and cultural reforms, seeking to transform the former Ottoman Empire into a modern, secular, and democratic nation-state. Under his leadership, thousands of new schools were built, primary education was made free and compulsory, and women were given equal civil and political rights, while the burden of taxation on peasants was reduced. The principles of Atatürk's reforms, upon which modern Turkey was established, are referred to as Kemalism.
Not bad, considering that this was in the late 1920's! He even introduced a new Latin based alphabet, that replaced the old Arabic script! Can you image a political leader today, who would have the balls and the support to just say, "Oh, let's just switch our alphabet."
The strategy of Muslim Brotherhood cretins, is to get elected claiming to be "moderately Islamic", without showing their true intentions. Then they use the courts to jail any political opposition and then slowly implement restrictions on society to transform it into an Islamic state. With the army now out of his way, there are only a few brave folks left who stage protests. When his corruption was exposed, he thought that he was far enough down the Islamic path that he can just act like a caliph now.
It would really be a sad loss for humanity, if all those enlightened thoughts of Atatürk get stomped into the ground, and Turkey is forced into the shackles of Islam in their place.