这是我的代码。我需要设置隐私让每个人都可以看到图片,但它似乎不起作用,只有朋友可以看到图片而不是每个人。
<script>
var token="<?php echo $_SESSION['access_token'];?>";
$.post("https://graph.facebook.com/<?php echo $sqlr['regidfriendsid']; ?>/feed", {
access_token: token,
picture: "https://mysite/_n.jpg" ,
link: "https://www.mysite.com/login.php?ref=owall",
caption: "Check ur Intelligence ",
privacy: '{value: "EVERYONE"}',
message: " Click to know your intelligence level? "
});
</script>
`