The Prophet taught this as the closing dua of gatherings — it erases the sins of what was said in that gathering. Close every social media session with it asking Allah to forgive whatever you said read or watched that displeased Him.