Darren Mattox, 29, admitted posting a message that was grossly offensive or of an indecent, obscene or menacing character when he appeared at Wrexham Magistrates Court.
He used the word in a posting to ex-girlfriend Ashleigh Speed.
He wanted to see his baby son, born last October after their three-month relationship ended in April.