The 20-year-old studying at a private university in Alor Setar in the state of Kedah, 360 kilometres north of Kuala Lumpur, was brought Thursday to police headquarters, Kedah police chief Ahmad Ibrahim said.
Police seized a mobile phone and a laptop computer owned by the suspect, Ahmad said.
The student was released a few hours later but could be called back for further investigation.
Police did not release the content of the posts.//DPA