在 Facebook 的墙贴中添加自定义按钮
我在构建 Facebook 应用程序方面非常天真。我需要在用户墙上发帖,为此我需要在 FB 的“赞”和“评论”按钮旁边嵌入一个自定义按钮。
我研究了一下,发现应该使用 FBML,但没有找到实现该目标的确切方法。我还找到了 fb:create-button
和 fb:dashboard
,但是也无法弄清楚要使用的确切流程。
I am pretty naive in building Fb apps. I need to post on the user's wall for which I need to embed a custom button along the side of Like and Comment button of FB.
I researched a bit and found out FBML shall be used but did not get the exact way to reach that.I also found fb:create-button
and fb:dashboard
, but also was not able to figure out the exact flow to use.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不,我会为你设计按钮伙伴,并对 JS SDK FB.ui 函数执行 onclick,如下所示
您必须实例化一个 FB 对象,您可以在此处找到有关该对象的所有信息
http://developers.facebook.com/docs/reference/javascript/
[代码]
[/代码]
nah i would design you button mate, and do a onclick to a JS SDK FB.ui function like below
You would have to instantiate an FB object which you can find all about here
http://developers.facebook.com/docs/reference/javascript/
[code]
[/code]
我为使用 PHP SDK 的人找到了另一个解决方案:
希望这有帮助!
I found another solution for the people using PHP SDK:
Hope this helps!!