Twitter might be blocked in Iran for everyday Iranians, but Iranian government officials, including Rouhani, do have Twitter accounts.
Even aside from the fact that it's just wrong, the idea that Rouhani isn't going to see that tweet because he's not on Twitter is really not the direction I'd go with the criticism.
But anyway...