If you die who gets access to your social media like facebook, instagram, etc?

Is there like a will you have to write for it. Like how you would for who gets your money, 401k, etc?

If you die who gets access to your social media like facebook, instagram, etc?
Post Opinion