Congressman Josh Gottheimer (NJ-05) wants social media giant Twitter to ban foreign terrorist groups.

Gottheimer, whose district includes parts of Warren and Hunterdon counties, released a joint letter with Rep. Brian Fitzpatrick ( PA-01), who represents Bucks and part of Montgomery County and lawmakers from New York.

The bipartisan effort urges Twitter to stop groups like Hezbollah and Hamas, which have been declared terrorist organizations by the U.S. government, from spreading their message on the American-created platform.

The congressmen wrote a similar letter Twitter's CEO Jack Dorsey last month but said at a news conference in Washington on Tuesday that Dorsey wasn't taking the issue seriously.

"You  [Twitter] are complicit in allowing known terrorist organizations to threaten American lives, the lives of our allies, and our national security and democracy,” Gottheimer said.

Twitter released a response to the congressional inquiry, saying in part that it makes "exceptions" to its anti-terrorism policy for groups that have been involved in "peaceful resolution" or have been elected to office, as is the case with parts of Hamas and Hezbollah.

Gottheimer and other lawmakers are pushing Twitter to take down the terrorist group content by November 1.