Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法使用存储在变量中的用户名和密码来使用 facebook api 使用 oauth 对 facebook 上的用户进行身份验证?
如果没有,有没有办法在不使用 oauth 的情况下这样做?
不,使用 OAuth 的全部意义在于用户永远不必向您(不受信任的第三方)提供他们的密码。所以这样做会破坏这一点。