Twitter is warning developers that it won't stand for them using its public programming kits or Gnip data to create surveillance tools.
The announcement, which comes a week after the UK government passed the Investigatory Powers Bill (IP Bill), sees Twitter reaffirming its anti-surveillance stance.
"As a company, our commitment to social justice is core to our mission and well established. And our policies in this area are long-standing," Twitter said.
"Using Twitter's Public APIs or data products to track or profile protesters and activists is absolutely unacceptable and prohibited."
The social network has warned developers that it won't stand for the creation of spy tools for law enforcement or otherwise, and has said that those who don't stick to the rules will see their accounts suspended and their access to its Public APIs and data products yanked.
"We prohibit developers using the Public APIs and Gnip data products from allowing law enforcement - or any other entity - to use Twitter data for surveillance purposes. Period," Twitter said, laying down the law.
"The fact that our Public APIs and Gnip data products provide information that people choose to share publicly does not change our policies in this area."
While the crackdown won't stop authorities from collecting information through other means, such as formal requests, Twitter notes that it's going to step up its efforts to police those accessing data otherwise.
"Over the coming months, you'll see us take on expanded enforcement and compliance efforts, including adding more resources for swiftly investigating and acting on complaints about the misuse of Twitter’s Public APIs and Gnip data products.
"The vast majority of developers respect the voices of people using Twitter, and we appreciate and support the creative and innovative work being done by these developers every day."
Twitter's surveillance crackdown comes just hours after the firm accidentally, and awkwardly, suspended the account of its own CEO Jack Dorsey.
Valve quietly closes down hardware initiatives launched following Windows 8
Scientists create a virtual reality simulation of a black hole sitting at the centre of the Milky Way
Simulations like this can help people understand complicated systems in the universe in a better way
The most luminous galaxy ever discovered is cannibalising at least three of its smaller neighbours, study finds
The galaxy radiates at 350 trillion times the luminosity of the Sun
Researchers modify genetic code of cancer-killing virus so it can target cells that protect cancer from immune system
Changing the genetic coding causes the infected cancer cells to produce a protein that kills the fibroblast cells that protect cancer