Gaza is controlled by Hamas, an Islamic militant group that seeks Israel's destruction.
Despite the apparent activation of Israel's Iron Dome air defense system, the military said no rockets were shot down.
"Hamas violently suppresses its own people demonstrating against Hamas' rule & failures today and NOW fires rockets at cities in Israel", he tweeted about half an hour after sirens blared in Tel Aviv when two rockets fired from Gaza headed toward central Israel.
About 40 minutes after the alarm, traffic was flowing normally on Tel Aviv's main highway.
As tensions have risen in Gaza over Israel's lethal response to weekly protests at the frontier during the past year, militants in the enclave have fired hundreds of projectiles into surrounding areas, although not as far north as Tel Aviv.
NASA Opportunity rover’s last panorama shows its final resting place
Opportunity was part of the Mars Exploration Rovers program that called for two identical machines to be sent to Mars. The trailblazing rover missions may be over but NASA said Opportunity's legacy "will live on".
A Hamas official told the The Times of Israel that the terror group "has no interest in an escalation" with Israel.
Israeli media reported that Islamic Jihad, not Hamas, claimed responsibility for the rocket attack.
There were no immediate reports of any casualties or damages.
A post on social media apparently shows two rockets streaking through the night sky above Tel Aviv. "The time has come to defeat Hamas once and for all", he said.
Tel Aviv Mayor Ron Huldai said he had ordered the city to open public air raid shelters as a protective measure.
Hamas denied responsibility for the attack on Tel Aviv, saying the rockets were launched when the group's military wing was meeting with Egyptian mediators to try to strengthen a cease-fire between Gaza militants and Israel. He is a New York Times bestselling author and hosts the popular weekend talk radio program, "Aaron Klein Investigative Radio".