Facebook喜欢按钮和奇怪的错误 [英] Facebook Like button and weird error

查看:134
本文介绍了Facebook喜欢按钮和奇怪的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图实现Facebook像OpenGraph和Im变得奇怪的错误:

Im trying to implemet Facebook Like with OpenGraph and Im getting weird error:


您必须指定一个URL作为这个小部件的一部分, API。

You must specify an URL as part of this widget or API.

我将Open Graph协议添加到元标记中, fb:like> tag with the URL to the page,added JavaScript SDK init。

I added Open Graph protocol to meta tags, added < fb:like> tag with URL to that page, added JavaScript SDK init.

像出现一样,我点击并显示该错误。有谁知道该怎么做

Like appears, I click, and that error is shown. Does anyone knows what to do

谢谢

编辑:

我发现错误...
我正在使用FB连接脚本:

有FB.Init,如果你想添加一些插件,那么你不能使用 FB再次插入,每个插件都要求。所以如果你在同一个页面上插入的插件很少,那么你会有错误。

There is FB.Init and if you want to include some plugin then you can't use FB.Init again, which every plugin request. So if you have few plugins on the same page, then you will have error.

但是,使用这个FeatureLoader.js我无法使FBML工作,只有 fb:fan 的作品,对于活动喜欢,我必须使用iframe:(

But, with this FeatureLoader.js I cant get FBML to work, only fb:fan works, and for Activity and Like I must use iframe :(

任何人都知道如何使用FBML工作?

Does anyone know how to get it work with FBML?

再次感谢

推荐答案

我也遇到同样的网址错误,经过长时间的烦恼和打击和试用,我能够使其工作
Infact我的Facebook粉丝框显示当前登录的用户的主页,而不是风扇列表
实际问题与功能加载器库的上述注释中提到的相同
我已经写了关于我的问题和解决方案:
http://am22tech.com/s/22/Blogs/ post / 2010/06/01 / Facebook-like-box-shows-users-Facebook-home-page-instead-of-like-box-content.aspx

I also faced the same URL error and after long hours of mind boggling and hit and trial, i was able to make it work. Infact my facebook fan box was showing the currently logged in user's facebook home page instead of fan list. The actual problem was same as mentioned in above comments of the featureloader library. I have written about my problem and the solution here: http://am22tech.com/s/22/Blogs/post/2010/06/01/Facebook-like-box-shows-users-facebook-home-page-instead-of-like-box-content.aspx

希望它帮助别人。

这篇关于Facebook喜欢按钮和奇怪的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆