Php Facebook帖子图片未显示

Php Facebook帖子图片未显示,php,facebook,facebook-graph-api,Php,Facebook,Facebook Graph Api,我想使用facebook graph api在朋友墙上贴一个帖子。 一切正常,但图像正在显示。 这是我的密码 $attachment = array( 'message' => $d['giftmsg'], 'name' => 'You have received a gift voucher for ' . $dd['title'] . '!' . '', 'link' => $plink,

我想使用facebook graph api在朋友墙上贴一个帖子。 一切正常,但图像正在显示。 这是我的密码

 $attachment = array(
            'message' => $d['giftmsg'],
            'name' => 'You have received a gift voucher for ' . $dd['title'] . '!' . '',
            'link' => $plink,
            'description' => " Login to the Tippll facebook app to claim you gift card.   Your friends can click on the like above to top up this gift even further!",
            'picture' => $img_url,
            'actions' => array('name' => 'Top-Up This Gift', 'link' => $plink)
        );

  $post = $facebook->api('/' . $_POST['friend_id'] . '/feed', 'POST', $attachment);
此处$img_url包含有效的url,当我在浏览器地址栏中输入此url时,它会显示图像。但facebook并没有把它放到我的帖子上。 我尝试了其他服务器上的图像,它可以在其他服务器上运行,但不能在我的服务器上运行。 我正在使用htaccess将www重定向到非www。 请给我建议解决办法。
Thanx提前,可能有两个原因:

  • facebook无法访问您的图像,因为facebook首先获取您的图像并将其存储在云上
  • 你的主机被Facebook禁止,不再接受来自你的URL地址的图像

  • Thanx@Mihai…这是我的照片。。可能是什么问题?您看不到SSL错误吗。如果您有错误,Facebook将不会访问它。