An ‘ignorant’ man banned from contacting his ex-partner landed himself back in court after messaging her and ‘liking’ her posts on TikTok.