Facebook发表到粉丝页面来自粉丝页面?

问题描述

| 所以我有api工作在哪里,我可以获取auth密钥并将其发布到我的粉丝页面。 问题是帖子的上升是因为我的用户不是粉丝页面本身的帖子。
    $params[\'message\'] = \'Hey this is my new blog post! Head on over to check it out!\';
$params[\'link\'] = \'http://link.com\';

    $data[\'returnid\'] = $this->facebook->api(\'/123456789/feed\',\'POST\',$params);
很好但是看到我是Fanpage的所有者时,它发布了我的名字和个人资料照片。 我想用粉丝页面的名称和粉丝页面图片发布。 有没有办法做到这一点?     

解决方法

        您需要使用
scope=manage_pages
检索其他访问令牌。然后,您将可以以Facebook页面的管理员身份发布。 在此处查看“页面权限”部分以获取权限: http://developers.facebook.com/docs/authentication/permissions/ 并在此页面底部发布实际内容: http://developers.facebook.com/docs/reference/api/page/     

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...