I'm using Facebook JS SDK to log in users to my website. I have a FB button that looks like this:
<fb:login-button size="medium" perms="email,publish_stream">Login</fb:login-button>
Previously it was working fine but lately it stopped asking for email and publishing permissions. Has smth changed?
Are you asking for the user_email
permission when asking the users to login? It's a required permission to access the email address. Add it to the scope
of the login function.
好的,问题是SDK已更改,而不是“作用域”而不是“权限”:
<fb:login-button size="medium" scope="email,publish_stream">Login</fb:login-button>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.