当我使用get参数发送我的网址时,Facebook Share不起作用

时间:2015-07-26 16:34:26

标签: php facebook get

我想在Facebook上分享这个网址:

http://exapmle.com/?id=120

我试过了:

http://www.facebook.com/sharer.php?s=100&p[title]=titleheresexily&p[url]=http://exapmle.com/?id=120&p[summary]=mysexysummaryhere&p[images][0]=http://exapmle.com

这不起作用,因为在我的网址中我有1个参数:?id=120

我也尝试了这个:

<?php
$title=urlencode('Title of Your iFrame Tab');
$url=urlencode('http://exapmle.com/?id=120');
$summary=urlencode('Custom message that summarizes what your tab is about, or just a simple message to tell people to check out your tab.');
$image=urlencode('http://www.yourdomain.com/images/share-thumbnail.jpg');
?>

0 个答案:

没有答案