benutzerdefinierte Facebook-Share-Taste

Ich möchte meine Website-Artikel auf Facebook teilen (Inhalt, Bild, Titel)!

Facebook erkennt aber nicht das richtige Bild.

In diesem Fall habe ich eine statische Bild-URL angegeben.

Das ist mein Code:

<li>
    <a id="buttton"  href="http://www.facebook.com/sharer.php?s=100&amp;p[title]=<?php echo $title;?>&amp;p[summary]=<?php echo $summary;?>&amp;p[url]=<?php echo urlencode($url);?>&amp;p[images][0]=http://www.example.com/images/report/daily_report/KNDR/image(2).jpg" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=no,scrollbars=no,height=400,width=600'); return false;">
        <img src="<?php echo base_url()?>media/images/share.png" alt=""/>
    </a>
</li>

Antworten auf die Frage(6)

Ihre Antwort auf die Frage