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.
Ultra-high-end all-in-one PCs from HP feature either 24-inch or 27-inch displays
Roomba 'smart' vacuum cleaner company iRobot plans to sell maps of users' homes to Apple, Amazon and Google
'Smart' products spying on their owners and selling the data for profit? Who'd have thought it!
TNT Express still struggling with NotPetya malware - crucial documents remain locked up in borked systems as staff grapple with manual procedures
TNT depots over-flowing with parcels as the company struggles to recover from NotPetya - while Reckitt Benckiser reports 'ongoing' recovery
Full roll-out of Android O expected within weeks