我有这样的代码:返回查询结果使用自定义功能
getThirdPartyID : function() {
return FB.api("/me?fields=third_party_id", function (userData) {
console.debug("Your Facebook ThirdPartyId is: " + userData["third_party_id"]);
return userData["third_party_id"];
});
},
但它返回空。这个代码有什么问题?我如何使用相同的想法访问它? tnx
开箱即用! Ur一个js忍者! tnx – zsitro 2012-02-01 13:14:15