If the person has set their photo visibility to "Public" or "Friends of Friends," you might be able to view it. However, this depends on their specific settings.
No legitimate tool will ever ask for your Facebook password to show you someone else's photos. 💡 The Professional "Fix" view private facebook photos without being friends 2021 fix
Turn this into a for users to protect their own photos? Adjust the tone to be more technical or more casual? If the person has set their photo visibility