在Facebook页面上代表另一页面发布

时间:2017-01-27 16:55:05

标签: python facebook facebook-graph-api facebook-graph-api-v2.8

可能重复:FB Graph API: Posting as a page, to a different page

问题陈述: 我试图将一个帖子从ABC页面发布到XYZ页面,最后发布了这个错误:

(#200) Posts where the actor is a page cannot also include a target_id other than EVENT or GROUP

  

注意:我是用户页面的access_token(在这种情况下:ABC)。

到目前为止我尝试了什么: 我正在使用facebook_sdk for python发起API调用。

# access_token of page on behalf the post will be published
graph = facebook.GraphAPI(access_token)

response = graph.put_wall_post(
    message=facebook_post_data,
    profile_id=profile_id  # on which post will be published
)

相当于

{app-id}/feed?access_token=access_token&message=Hello&method=post
  

manage_pages publish_pages publish_actions 已经在要授予的范围内了!

问题: 有没有办法解决这个问题?还是我错过了什么?!? Because it's possible to publish post to a page from another page using Facebook UI

因此,Graph API文档不包含任何显式信息。差不多,如果不可能!

谢谢你的时间!

0 个答案:

没有答案