是否有一个简单的Facebook“喜欢"网站?或分享网址? [英] Is there a simple Facebook "Like" or share URL?
本文介绍了是否有一个简单的Facebook“喜欢"网站?或分享网址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Facebook是否可以接受一个简单的URL字符串来点赞"一个站点...或更准确地说(如下面的注释所述, ),共享一个站点?作为比较,Twitter允许您仅通过将锚点指向自定义URL即可从任何页面进行发布...
Is there a simple URL string that Facebook will accept to "like" a site... or more accurately (as a commenter points out below), share a site? As a comparison, Twitter allows you to post from any page simply by pointing an anchor at a customized URL... like this:
<a href="https://twitter.com/share?text=Check%20out%20this%20site:&url=http://example.com">Tweet this!</a>
我似乎在Facebook文档中找不到任何内容.
I can't seem to find anything in the Facebook documentation.
推荐答案
不完全是一个答案,但对我来说足够接近:
Not exactly an answer, but close enough for me:
http://www.facebook.com/sharer.php?u=http://mysite.com/
那样就可以了.
这篇关于是否有一个简单的Facebook“喜欢"网站?或分享网址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文