dte29947 2011-09-15 20:02
浏览 55
已采纳

发布到Facebook页面提要,而不是首先喜欢页面

Is it possible to post to a facebook page feed without first liking the page?

I tried the feed dialog using something like the code below -- https://www.facebook.com/dialog/feed?app_id=X&to=Y&redirect_uri=Z which resulted in an error "An invalid target was specified: Y. The target must be a page, event, or user that the actor can post on the wall of."

I also tried creating an access token from the page admin and then posting using the graph, but that resulted in the feed post coming from the admin and not the user who is posting.

I simply need the user to be able to post to the pages wall. Any ideas?

Thank you!

  • 写回答

1条回答 默认 最新

  • douxiaqin2062 2011-09-15 20:45
    关注

    See the FB docs:

    feed

    This connection corresponds to the Page's Wall. You can create a link, post or status message by issuing an HTTP POST request to the PAGE_ID/feed connection. To see more details please see links, posts, and status messages documentation.

    To impersonate the Page when posting to the wall (i.e. post as the Page, and not the current user), you must use a Page access_token with the manage_pages and publish_stream permissions, as described under Page Access Tokens above.

    Posts may be targeted to countries, cities, regions or locales using the targeting parameter. Please see Post for additional information.

    edit:

    Sorry, bad part above, correct is:

    posts Create

    You can create a post on a Page by issuing an HTTP POST request to PAGE_ID/feed with the publish_stream and manage_pages permissions and the following parameters.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP