Feed上的Facebook图表帖子在新闻源中不可见 [英] Facebook graph post on feed is not visible in newsfeed

查看:80
本文介绍了Feed上的Facebook图表帖子在新闻源中不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个在用户墙上发布特定信息的应用程序。此消息也应该在新闻源中可见,但这部分是错误的地方。

I am trying to create an application that posts specific information on a user's wall. This message should also be visible in the newsfeed, but this part is where it goes wrong.

我将以下信息发布到Feed图表:

I 'post' following information to the feed graph:

<?php 
array(
  'link' => string 'https://www.facebook.com/page' ,
  'picture' => string 'http://...../picture.png' ,
  'name' => string 'Name' ,

  'caption' => string 'caption' ,
  'description' => string 'info text' ,
  'message' => string 'message' 
)
?>

(所有的信息都是用有用的信息填充的,但是对于这个问题,我提出了更快的可读性)

(All the information is filled in with usefull information, but for this question I made it quicker readable).

信息来自用户墙,但不在新闻Feed中。这也发生在用户的故事的一面:他可以看到他的墙上的帖子,但不是在任何饲料。另外当我们和其他朋友一起尝试时。

The information comes on the user's wall, but not in the news feed. This happens also from the user's side of the story: He can see the post on his wall, but not in any feed. Also when we try with other friends.

我也试图只发布消息(没有链接和图片),但在一般的新闻源中仍然不可见。

I also tried to only post a message (without link and picture), but it still is not visible in the general newsfeed.

设置和使用权限(publish_stream),当我在墙上看时,权限也是正确的。我使用与旧版应用程序相同的代码。也许这是开发者页面上的一个设置?沙箱模式关闭...

The auth permissions are set and available (publish_stream) and the permissions are also correct when I look at them on the wall. I use the same code as an older app. Maybe it is a setting on the developer page? Sandbox mode is off...

有人可以帮我吗?

谢谢!

推荐答案

我认为这可能是事实上,你发送一个链接,显然FB不喜欢这个:

I think it may be releated to the fact you're sending a link, apparently FB doesn't like this anymore :

更新用户状态

您可以使用此方法简单地更新用户的状态,当您这样做时,状态消息将显示在用户配置文件的顶部和朋友>状态更新页面。该消息也会显示在您的应用程序图标的流中。

You can use this method to simply update a user's status. When you do so, the status message appears at the top of the user's profile and on the Friends > Status Updates page. The message also appears in the stream with your application icon.

要使用此方法设置用户的状态,请执行以下操作:

To use this method to set a user's status do the following:

* Do not include an attachment or action link. If you do, the story will get published and will appear in the stream and on the user's Wall only. It won't appear at the top of the profile or in the Status Updates page.
* Make sure the message is no longer than 420 characters. Otherwise, an error gets returned.

根据 http://developers.facebook.com/docs/fbjs/streamPublish/

这篇关于Feed上的Facebook图表帖子在新闻源中不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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