Supporters of defeated Iranian presidential candidate Mirhossein Mousavi posted defiant messages on Twitter on Tuesday, calling for a second banned pro-Mousavi rally to go ahead and offering security updates.

Web sites such as Twitter and Facebook have become a focal point for young, urban Iranians opposed to President Mahmoud Ahmadinejad, who defeated Mousavi in Friday's presidential election and whose government controls the state media.

Alert: Mousavi march still on. 5PM, read one short message, or tweet, on Twitter.

Good luck at the march. Don't take cars, they will be waiting for you when you return to them, read another, as tweets on the subject of the Iranian election poured onto the site every few seconds.

The Iranian government blocked SMS text messages during polling after opposition candidates used them to galvanize key young voters during the fiercely contested election campaign, and Tehran residents were still unable to send SMSs on Monday.

The BBC's Persian service was also blocked.

Social networking site Facebook, which has about 150,000 members in Iran, said on Monday it had had reports that some users in Iran were having difficulties accessing Facebook.

This is disappointing, especially at a time when citizens are turning to the Internet as a source of information about the recent election, it said in a statement.

Unrest has rocked Tehran and other cities since the Interior Ministry released results on Saturday that showed hard-liner Ahmadinejad had defeated Mousavi by a landslide.

Mousavi has appealed to Iran's top legislative body to annul the result because of irregularities, a charge the Interior Ministry and Ahmadinejad have dismissed. The Guardian Council said it was ready to carry out a partial recount.

According to Internet censorship monitor OpenNet Initiative, Iranians began taking to the Internet in droves during the 1997-2005 presidency of Mohammad Khatami, when dozens of independent publications were shut down and journalists jailed.

In a 2007 report on Iran, the OpenNet Initiative estimated there were about 400,000 blogs in Farsi, as publishing on the Internet exploded, despite what it called one of the most extensive technical filtering systems in the world.

More than 23 million Iranians in a country of 70 million -- more than 60 percent of whom are under the age of 20 -- have access to the Internet.

Facebook was shut off in Iran on May 23, joining political and human-rights web sites which had already been blocked. The ban was lifted on May 26, following strong criticism from moderate candidates.

Mousavi has almost 48,000 supporters on his main Facebook page. Ahmadinejad also has a page with 2,615 fans, while the I bet I can find 1,000,000 people who dislike Mahmoud Ahmadinejad! group has more than 57,000 members.

(Editing by Giles Elgood)