I have the following code:
FB.getLoginStatus(function (response) {
if (response.status === "connected") {
FB.api("me/bookvote:download", "post", {
}, //Missing a , here?
however, I am still getting:
Uncaught SyntaxError: Unexpected identifier
for book: "<?php echo "http://mysite.xom/auction_details.php?name=$item_details["name"]&auction_id=$item_details["auction_id"]";?>",
what could be wrong in my php variable to JavacScript?