我的 Facebook 应用程序突然停止发布

发布于 2024-10-09 09:25:55 字数 1070 浏览 1 评论 0原文

我的应用程序是基于 iframe 的画布。它运行良好,但从昨天开始它已停止流发布。我不明白为什么?我正在查看我的应用程序的代码,但我认为我没有更改代码中的任何内容。或者我可能已经更改了它,但发布代码完好无损,其余应用程序工作正常。另外,我还没有收到任何来自 Facebook 的邮件,说他们已经阻止了我的出版权之类的事情(没有那样的事……没有邮件)。

这是发布代码

 var publish = {
         method: 'stream.publish',
            name: "Check out your friend's underwear",
         link: 'http://apps.facebook.com/underwearcheck/',
         picture: 'http://dhruvlab.com/underwearcheck/appli/pic.jpeg',
         caption: 'Its time to know the inner secret of your friend. Watch what he/she wears inside.',
         message: "Hey! I checked out one of my friend's underwear. Its really funny!. Aren't you curious?",
         description: "NEW YEAR SPECIAL"
   };

   FB.api('/me/feed', 'POST', publish, function(response) {  
        document.getElementById('confirmMsg').innerHTML = 
          'A post had just been published into the stream on your wall.';

   });

,这是应用程序网址:http://apps.facebook.com/underwearcheck .有人能弄清楚为什么会发生这种情况吗?

My application is iframe based canvas. It was working fine but since yesterday it has stopped stream publishing. I am not able to figure out why?. I was looking at the code of my application but I think I didn't changed anything in the code. Or I may have changed it but the publishing code is intact and the rest application is working fine. Also , I haven't received any mail from facebook saying they have blocked my publishing rights or so (nothing like that.. no mail).

Here is the code for publishing

 var publish = {
         method: 'stream.publish',
            name: "Check out your friend's underwear",
         link: 'http://apps.facebook.com/underwearcheck/',
         picture: 'http://dhruvlab.com/underwearcheck/appli/pic.jpeg',
         caption: 'Its time to know the inner secret of your friend. Watch what he/she wears inside.',
         message: "Hey! I checked out one of my friend's underwear. Its really funny!. Aren't you curious?",
         description: "NEW YEAR SPECIAL"
   };

   FB.api('/me/feed', 'POST', publish, function(response) {  
        document.getElementById('confirmMsg').innerHTML = 
          'A post had just been published into the stream on your wall.';

   });

and here is the application url : http://apps.facebook.com/underwearcheck . Can somebody figure out as to why is this happening?

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

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

发布评论

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

评论(1

时光磨忆 2024-10-16 09:25:55

如果您向用户的流发布过于频繁,Facebook 将在一段时间内忽略其他发布请求。如果您在一段时间内根据您拥有的用户总数开始发送过多的总请求,它也会忽略发布请求。我在测试时遇到了这两个块。

If you publish too frequently to a user's stream, Facebook will simply ignore additional publish requests for a period of time. It will also ignore publish requests if you start sending too many total requests in a period of time based on the total number of users you have. I have run into both blocks while testing.

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