A Penarth man has been questioned by detectives on suspicion of inciting racial hatred online.
South Wales Police say three people were arrested on suspicion of displaying threatening, abusive or insulting written material with intent or likely to stir up racial hatred.
The 27 year-old has been released on bail pending further enquiries until Thursday 7th November.
A 33 year-old woman and a 39 year-old man from the Blaengwynfi area were also questioned for similar offences and released on bail until November.
Detective Chief Inspector Matt Powell from South Wales Police said: “I hope that our swift response to these incidents sends a very clear message that there will be serious consequences for those who think they can publish hateful, racial or prejudiced posts.”
Meanwhile, two men from the Tonypandy area pleaded guilty to publishing threatening material on a Facebook account intending to stir up religious hatred. A third defendant, also from Tonypandy, pleaded guilty and was remanded until Friday 23rd August.

Plans are under consideration to build over 200 houses in a sleepy Welsh village
Sanitary disposal bins introduced in men's public toilets following "Bins for Boys" campaign
Officers called to Dinas Powys Woods after young person enters the river
Vale Council signs off placemaking plan for Barry
Plans filed to use Blackweir Fields for a series of live events this summer
Plans filled for controversial housing development in Cowbridge
Cardiff Council pledges to work with new Welsh Government to tackle trouble-plagued hospital
RNLI issues Sully Island safety advice after first call out of the year to the Island
Morio Lounge on course to open at Nell's Point in May
Vale Council appoints specialist contractors to carry out road improvements
Three men jailed for their roles running a drugs line which supplied cocaine in Barry
Police appeal for witnesses after fatal Penarth Road collision
New Beach and country park facilities opened following major investement
RNLI centre at Barry Island welcomes lifeguards back to Whitmore Bay
Severn tidal lagoons progress