我正在使用facebook共享url,但是在显示url的图像参数时遇到了问题,有人能告诉我这可能出了什么问题吗?
<a title="Share this on Facebook"
href="http://www.facebook.com/sharer.php?
s=100
&p[url]='http://www.test.com'
&p[images][0]='http://www.meandmrsjoneshotel.com/wp-content/themes/child-theme/img/fb-thumbs/home.png'
&p[title]='This is the title'
&p[summary]='This is the share description'"
target="_blank" class="fb ir">
Share this page on Facebook
</a>JS Fiddle http://jsfiddle.net/pUMZb/
谢谢
发布于 2012-12-07 07:06:18
试着去掉撇号。您的代码应该如下所示
<a title="Share this on Facebook"
href="http://www.facebook.com/sharer.php?
s=100
&p[url]='http://www.test.com'
&p[images][0]=http://www.meandmrsjoneshotel.com/wp-content/themes/child-theme/img/fb-thumbs/home.png
&p[title]='This is the title'
&p[summary]='This is the share description'"
target="_blank" class="fb ir">
Share this page on Facebook
</a>https://stackoverflow.com/questions/12286927
复制相似问题