iPhone won’t charge

My phone hasn’t been charging like it used to. Two weeks ago I was in travelling on vacation and I couldn’t get my phone to charge. I tried a new cable and that seemed to work but it was still sketchy. With my mouth I blew on the charger port but it didn’t help. Finally I took a wooden toothpick and dug around and pulled out 2 lint balls. So far the phone is charging again. I’ll need to do some more tests but its hopeful so far.