Twitter showed strong gains in its user base with more people turning to the short-message social network during the pandemic and civil unrest, according to a quarterly update Thursday that offered positive signs despite a big drop in ad revenues.

The short-message social network reported a net loss of $1.2 billion in the quarter, most of that coming from setting aside funds for income taxes.

Revenue slumped 19 percent from a year ago to $683 million. Despite some modest rebound from the pandemic-induced economic slump, Twitter said that "many brands slowed or paused spend in reaction to US civil unrest" in May and June.

Twitter said ad revenue declined 15 percent over the last three weeks of June, but appeared to have rebounded since then.

A key metric for Twitter, the number of "monetizable" daily active users, hit 186 million in the second quarter for a jump of 34 percent from last year.

Chief executive Jack Dorsey said the user gains showed "the highest quarterly year-over-year growth rate we've delivered" using this measure.

"People continue to come to Twitter to learn about and participate in conversations focused on systemic racism, Black Lives Matters, COVID-19 and the reopening and reclosing of economies all around the world," Dorsey told analysts on a conference call.

Twitter said advertisers pulled back on marketing on its platform during the racial equity protests in the United States in June
Twitter said advertisers pulled back on marketing on its platform during the racial equity protests in the United States in June AFP / Olivier DOULIERY

Twitter shares rallied to gain four percent on Wall Street following the results.

The earnings report comes a week after Twitter suffered a hack that affected high-profile accounts and raised fears about security of the service which has become a key element of political conversation.

Dorsey apologized for the incident and added that Twitter "moved quickly to address what happened," and had taken additional steps "to improve resiliency."

Twitter acknowledged late Wednesday that in 36 of the 130 accounts that were compromised, hackers were able to access direct messages intended to be private, adding to the severity of the incident.

Those affected included one unidentified elected official in the Netherlands.

Twitter CEO Jack Dorsey, seen here in 2019, apologized for the hack affecting prominent accounts and said the company was taking steps to improve resiliency
Twitter CEO Jack Dorsey, seen here in 2019, apologized for the hack affecting prominent accounts and said the company was taking steps to improve resiliency GETTY IMAGES NORTH AMERICA / David Becker

"We are actively working on communicating directly with the account-holders that were impacted," Twitter said on its security blog.

The bitcoin-scam hack affected high-profile users including Joe Biden, Elon Musk, Bill Gates, Barack Obama and others.

Dorsey said of the incident: "We understand our responsibilities and are committed to earning the trust of all of our stakeholders with our every action, including how we address this security issue."

Twitter, an important tool used by President Donald Trump, is seen by some analysts as an important element in news and political discussion, a key to its growth.

Dorsey said the boycott of Facebook by brands concerned about "hateful" content could end up benefitting Twitter, which has long focused on what he calls the "health" of the platform, including efforts to curb misinformation and incendiary content.

"We are showing our commitment of service to the public conversation by our actions, and advertisers are definitely taking note," Dorsey told analysts.

"We are hearing this resonate and people are taking note of our difference ... We are going to continue to focus on taking the actions that we believe is important to maintain health, and we hope that others follow as well."

The research firm eMarketer said its estimate of Twitter's user base, using a different method than the company, shows the number of users will grow to some 305 million this year.

In the past quarter, "Twitter's user growth accelerated in Q2 as housebound consumers continued to use the platform to follow news about the coronavirus and other current events," said eMarketer analyst Jasmine Enberg.

Dorsey meanwhile confirmed reports that Twitter is looking at a subscription option but said that this would likely be "complementary" to the existing service.

He said Twitter was "in the very early phases of exploring" a new offering and that some tests are likely this year, while adding that "we have a really high bar for when we would ask consumers to pay for aspects of Twitter."