我在HybridAuth Faceboook Authentication上关注本教程。
但它只给我displayname字段。其他字段为空且为空。为什么这样,我怎样才能获得他们的价值观?
object(Hybrid_User_Profile)#10 (24) { ["identifier"]=> string(16) "148108450885555" ["webSiteURL"]=> string(0) "" ["profileURL"]=> string(0) "" ["photoURL"]=> string(72) "https://graph.facebook.com/1481084508875555/picture?width=150&height=150" ["displayName"]=> string(17) "User Name" ["description"]=> string(0) "" ["firstName"]=> string(0) "" ["lastName"]=> string(0) "" ["gender"]=> string(0) "" ["language"]=> string(0) "" ["age"]=> NULL ["birthDay"]=> NULL ["birthMonth"]=> NULL ["birthYear"]=> NULL ["email"]=> string(0) "" ["emailVerified"]=> string(0) "" ["phone"]=> NULL ["address"]=> NULL ["country"]=> NULL ["region"]=> string(0) "" ["city"]=> NULL ["zip"]=> NULL ["username"]=> string(0) "" ["coverInfoURL"]=> string(269) "https://graph.facebook.com/1481084508878224?fields=cover&access_token=CAAVE8ueaRqUBAMXgmDAVCPbNvMdJfDNMWfJNhnf5M9laaGlZCyVKoa4DcnsbkmoFqTImZBsfZAgHIh4fNEwxATQ9JJ6aDk8nUJKRCOVBJuEaxDkSDciSkm0ZA1dCMxm4wZAInZAZC01E6H6DaRCUysPN2fuNf7tZAt00ZCYKcDoVeBfIFIEsZD" }
答案 0 :(得分:1)
使用新版本更新 / application / third_party / hybridauth / Hybrid 文件夹后,Facebook电子邮件问题已解决。