我有以下代码:
FB.getLoginStatus(function (response) {
if (response.status === "connected") {
FB.api("me/bookvote:download", "post", {
}, //Missing a , here?
但是,我仍然得到:
Uncaught SyntaxError: Unexpected identifier
for book: "<?php echo "http://mysite.xom/auction_details.php?name=$item_details["name"]&auction_id=$item_details["auction_id"]";?>",
我的 php 变量到 JavaScript 可能有什么问题?