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.

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

报告相同问题?

悬赏问题

  • ¥20 测距传感器数据手册i2c
  • ¥15 RPA正常跑,cmd输入cookies跑不出来
  • ¥15 求帮我调试一下freefem代码
  • ¥15 matlab代码解决,怎么运行
  • ¥15 R语言Rstudio突然无法启动
  • ¥15 关于#matlab#的问题:提取2个图像的变量作为另外一个图像像元的移动量,计算新的位置创建新的图像并提取第二个图像的变量到新的图像
  • ¥15 改算法,照着压缩包里边,参考其他代码封装的格式 写到main函数里
  • ¥15 用windows做服务的同志有吗
  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法