如何在PHP中使用Facebook Sharer [英] How to use Facebook Sharer in PHP
本文介绍了如何在PHP中使用Facebook Sharer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
< a name =fb_sharetype =buttonhref =https:// www .facebook.com / sharer.php?u = 123.abc.comt = TEst>在Facebook上分享< / a>
正在共享的内容为空?谢谢
解决方案
您的网址中缺少符号('&'):
< a name =fb_sharetype =buttonhref =https://www.facebook.com/sharer.php?u=123。 abc.com& t = TEst>在Facebook上分享< / a>
Am I missing something? I use this simple code
<a name="fb_share" type="button" href="https://www.facebook.com/sharer.php?u=123.abc.comt=TEst">share on Facebook</a>
and the content that is being shared is blank? Thanks
解决方案
You're missing the ampersand ('&') in your url:
<a name="fb_share" type="button" href="https://www.facebook.com/sharer.php?u=123.abc.com&t=TEst">share on Facebook</a>
这篇关于如何在PHP中使用Facebook Sharer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文