The incident occurred in Puttur Town near here when one of the students of a local degree college had posted on a 'WhatsApp' group 'Pakistan Ki Jai', to which his classmates objected, they said.
The group stood divided over the statement as some objected to the post and others supported it.
Police said two college students were detained on Wednesday when the incident came to their notice and released on the same day.
Police, however, said prima facie they were mere comments, without any intention of sedition.
India won the match, which was played at Eden guardens, Kolkata, by six wickets.