Feed对话框:图片不显示 [英] feed dialog: picture not showing up

查看:151
本文介绍了Feed对话框:图片不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Facebook饲料对话框链接正确呈现对话页面,但是使用图片参数设置的图像不会显示 - 只是指示没有图片的灰色线条。

My Facebook feed dialog link correctly renders a dialog page, but the image set with the picture parameter does not show up -- just the gray line that indicates no picture.

我已经更改了图片文件并输入了几次,但图像仍然没有出现。

I've changed picture files and types a few times, but the image still doesn't show up.

这是代码:

$share_url = "https://www.facebook.com/dialog/feed?app_id=$app_id";
$share_url .= "&link=http://www.doozeez.com";
$share_url .= "&picture=http://doozeez.com/images/halloweenloot.png";
$share_url .= "&caption=to spend in the biggest rewards program in the www (whole wide world)";
$share_url .= "&name=doozeez ... get zeez for what you dooz";
$share_url .= "&description=grab your invitation to join me at the front of the line for doozeez launch";
$share_url .= "&redirect_uri=http://www.doozeez.com/";
echo("<script> top.location.href='" . $share_url . "'</script>");

我已经完成了,没有一个urlencode()的图片网址,有所作为我也通过Facebook调试器linter运行。

I've done it with and without a urlencode() for the picture url, and that doesn't make a difference. I've also run it through the Facebook debugger linter.

我们需要在php.ini文件中改变什么?我们的图像文件似乎无法在Facebook平台上使用。然而,他们在公共网站上显示的很好。

Is there something we need to change in our php.ini file? Our image files seem to be unavailable to the Facebook platform. Yet, they display on the public web just fine.

这是呈现的网址: https://www.facebook.com/dialog /feed?app_id=192590464145496&link=http://www.doozeez.com/&picture=http://doozeez.com/images/halloweenloot.png&caption=to%20spend%20in%20the%20biggest%20rewards %20program%20英寸%第二十条%20www%20(全%20wide%20world)及名称= doozeez%20 ...%20get%20zeez%20for%20what%20you%20dooz&安培;描述=抓斗%20your%20invitation%20to% 20join%20me%20AT%第二十条%20front%20of%第二十条%20line%20for%20doozeez%20launch& redirect_uri = http://www.doozeez.com/

推荐答案

我有一个类似的问题,一个.png图像

I had a similar problem with a .png image

我将图像格式更改为.gif,它解决了自己。

I change the image format to .gif and it resolved itself.

这篇关于Feed对话框:图片不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆