But the episode led the Pentagon to review its policy, as it views such information as sensitive, The Associated Press reported.
But he's not the only politician to have trouble with Twitter.
When his party came close to convincing a Democratic state senator to defect in February, Jeffrey Frederick, then the state's party chairman, tweeted a tease.
"Big news coming out of Senate: Apparently one dem is either switching or leaving the dem caucus. Negotiations for power-sharing underway," he wrote.
The switch would have created a 20-20 tie in the state Senate, broken by the state's Republican lieutenant governor, The Talking Points Memo reported.
Frederick's tweet upset the upset. The Democrats read the message, mobilized and made sure the senator stayed on their side of the aisle.
One job hunter -- on the verge of employment -- ran into trouble with a potential employer after an unfortunate tweet.
"Cisco just offered me a job! Now I have to weigh the utility of a fatty paycheck against the daily commute to San Jose and hating my work," the applicant wrote, according to MacWorld.
But someone from Cisco was paying attention and wrote back, "who is the hiring manager. I'm sure they would love to know that you will hate the work. We here at Cisco are well versed in the Web."
The tweeter switched on the privacy settings after this message. So the blogosphere never learned the end to the story. But it led to much online speculation, ridicule and even a dedicated Web site, ciscofatty.com.
Sometimes, even the most tech-savvy of the technorati run into trouble online.
In March, New York Times consumer tech columnist David Pogue shared his personal phone number with a few too many people when he first started getting used to Twitter.
Thinking he was sending private notes to just a few Twitter friends, he let loose a message with his phone number included.
Imagine his surprise when he realized that he had sent the number to 21,000 Twitter followers instead.
Within seconds, he wrote in a column, he realized his mistake and followed up as fast as he could: "YIKES! I'm so sorry, that was meant to be a direct message. Have mercy ... Please disregard my phone number!"
A follower recommended that he delete the post, which Pogue didn't even know he could do.
But he said that the crowd was sympathetic. Not a tweeter called his number and one wrote, "You'll be ok. Folks are respectful when it really counts."