使用 FB.ui 时出现未知方法错误

发布于 2024-12-05 23:30:16 字数 513 浏览 5 评论 0原文

我在使用 FB.ui 时遇到问题。这是一个非常简单的实现,但每次我尝试它时,我都会收到“API错误代码:3”,“API错误描述:未知方法”。

这是我用来获取此错误的精确复制和粘贴的虚拟数据。

function fbSend(){
        FB.ui({
            method: 'send',
            name: 'Me testing name',
            link: 'http://google.ca',
            picture: 'http://www.gravitationalfx.com/wp-content/uploads/2011/07/google+logo-75x75.png',
            description: 'Me is testing description'
        });
    };

我没有使用任何 Oauth/请求用户权限。

有什么想法吗?

提前致谢 斯卡洛

I'm running into an issue using the FB.ui. It is a pretty simple implementation but every time I try it I get "API Error Code: 3", "API Error Description: Unknown method".

Here is an exact copy and paste with dummy data of what I am using to get this error.

function fbSend(){
        FB.ui({
            method: 'send',
            name: 'Me testing name',
            link: 'http://google.ca',
            picture: 'http://www.gravitationalfx.com/wp-content/uploads/2011/07/google+logo-75x75.png',
            description: 'Me is testing description'
        });
    };

I'm not using any Oauth/ requesting user permissions.

Any thoughts?

Thanks in advance
Smccullough

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

故事未完 2024-12-12 23:30:16

这里有一个关于它的已提交错误:http://bugs.developers.facebook。 net/show_bug.cgi?id=18942

使用选项 display: "popup" 使其工作

There is a filed bug about it here: http://bugs.developers.facebook.net/show_bug.cgi?id=18942

Use the option display: "popup" to make it work

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文