Indian technology minister Ravi Shankar Prasad has warned US social media firms to abide by the country's laws, a day after a face-off between Prime Minister Narendra Modi's administration and Twitter over content regulation.

Speaking in parliament today, IT minister Ravi Shankar Prasad mentioned Twitter, Facebook, LinkedIn and WhatsApp by name and said they were welcome to operate in India, but only if they play by India's rules.

"You will have to follow the Constitution of India, you will have to abide by the laws of India," Mr Prasad said.

India rebuked Twitter yesterday after the US social media giant did not fully comply with a government order to take down more than 1,100 accounts and posts that New Delhi says spread misinformation about current farmer protests against new agriculture reforms.

Twitter said it had not blocked all of the content because it believed the directives were not in line with Indian laws. It permanently suspended some accounts and geo-blocked access to many others in India, though their posts could be read outside the country, the company said.

That prompted censure from India's tech ministry and calls from politicians to urge their followers to join Twitter's home-grown local rival, Koo.

Twitter has since blocked access to the bulk of accounts it was ordered to take down, an IT ministry source told Reuters, declining to be named as he was not authorised to speak to media.

It was not immediately clear whether those accounts had been suspended or geo-blocked.

Twitter and the Indian government have not made public the complete list of accounts and posts that were ordered blocked.

A lawmaker's account was among those geo-blocked by Twitter following the government orders.

Access to the account of Sukhram Singh Yadav, a member of the upper house of parliament, was temporarily restricted in India after Twitter received a legal request from the government, according to a filing with Lumen database.

Mr Yadav, whose account had been restored as of today, had tweeted using the hashtag #ModiPlanningFarmerGenocide, according to Indian media.

That hashtag was designed to "inflame passions, hatred and was factually incorrect", an IT ministry source previously told Reuters, explaining why the government asked Twitter to ban content carrying it.

Twitter did not immediately respond to a request for comment.