Facebook Like Button to Facebook App(看起来不错,但无法正常工作)



我试图将Like插件添加到Facebook应用程序中。我使用Iframe版本。插件看起来不错,似乎可以工作,但当点击时,它不会在用户墙上显示任何网站信息,甚至不会显示照片。我想问题是Facebook不能像Facebook URL Linter告诉我的那样抓取Facebook应用程序的URL:

https://developers.facebook.com/tools/debug

有可能在Facebook应用程序中添加合适的Facebook赞吗?如果是,我应该使用哪个URL?apps.facebook.com/xxxxxxxxxxxx对我不起作用。

我真的很感激你的知识和建议。

我的iframe代码:

<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fapps.facebook.com%2F347303448620703%2F&amp;send=false&amp;layout=standard&amp;width=450&amp;show_faces=true&amp;action=like&amp;colorscheme=light&amp;font&amp;height=80&amp;appId=347303448620703" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>

您可以从这里生成类似按钮的代码,并将此代码添加到您的应用程序中:http://developers.facebook.com/docs/reference/plugins/like/

最新更新