面子书贴到朋友的墙上

问题描述:

我过去一直在自己的墙上张贴帖子.

I used following to post on my own wall.

$result = $app->facebook->api('/me/feed/',
                        'post',
                        $attachment);

效果很好.现在,我需要贴到我朋友的墙上.所以我用过,

which worked nicely. Now I need to post to my friend's wall. So I used,

$result = $app->facebook->api('/'.$rid.'/feed/',
                        'post',
                        $attachment);

这虽然不起作用.还有其他权限吗?

This, though is not working. Any extra permission or something?

根据该文档publish_stream应该是您所需要的.

According to the documentation, publish_stream should be all you need.

(如果这不起作用,那么您应该提供更多信息.您可以执行一些错误处理并检索某种错误代码吗?)

(If this does not work, then you ought to provide more information. Can you do some error handling and retrieve an error code of some kind?)