我尝试使用http.get从用户获取Facebook数据,但它不起作用!
这里是我的代码
firebase.auth().getRedirectResult().then(function(result){
let token = result.credential.accessToken;
let user = result.user;
let userDetails = this.http.get("https://graph.facebook.com/me?access_token="+token).
map(result => result.json);
错误是“无法读取属性'http'未定义”