A chiropractor and osteopath who allegedly wrote racist Facebook posts on the page of Nova Peris has been kicked out of the Liberal Party.

Chris Nelson, who says he was hacked and did not make two offensive Facebook posts on the page of Ms Peris, allegedly wrote that the outgoing Labor senator and Olympic gold medallist was only endorsed because she was a "black c---".

On Monday, he was arrested and charged with using a carriage service to cause offence. He was granted conditional bail and will face Gosford Local Court in late June.