The 42-year-old Craig Slee also put online links to a communique by al-Qaida in the Islamic Maghreb, or AQIM, that encouraged terrorism.
In one of two Facebook pages he created, Slee inferred he was a member of the Taliban and claimed he had been on trips to Afghanistan. But counterterrorism police found Slee had no connection to any terrorist organization.
Det. Chief Supt. Tony Mole on Friday called Slee "a total fantasist" and there was no evidence he was planning an attack. But Mole said the case showed the dangers of misusing material available on the Internet.
Glee pleaded guilty to four terrorism offenses and possessing a canister of tear gas.