问题描述:
I don't want to share my PAGE, but I want to share a message with a short URL link to something.如何创建一个<a href=> to facebook and share a message?
答
我认为你正在寻找Facebook的API函数stream.publish:
http://wiki.developers.facebook.com/index.php/Stream.publish
或FB.Connect.streamPublish:
http://developers.facebook.com/docs/?u=facebook.jslib.FB.Connect.streamPublish
答
我猜你是在说这个,对吧?
http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.google.com%2F&t=Google
它可以让你分享 “www.google.com” 在Facebook上使用的标题是 “谷歌”。所有编码,显然。
这两个都需要扩展权限。您可以使用不需要扩展权限的(FBML或XFBML),因为它们在Facebook服务器上运行,并使用户交互发布。 –
2010-03-26 21:24:57