First - as you  are probably aware now.  You NEVER click on a link from a source that you don't know. I repeat - NEVER.  Second - if you can't figure out which malware app was installed , you need to consider doing a factory reset on your phone to eliminate all threats.  (I would do it anyway just to be certain).