【发布时间】:2014-04-02 08:53:48
【问题描述】:
我正在尝试通过以下代码 sn-p 以页面管理员身份发布到我的 facebook 粉丝页面:
require 'koala'
@page_graph.get_object('me') # I'm a page
@page_graph.get_connection('me', 'feed') # the page's wall
@page_graph.put_wall_post('post on page wall') # post as page
@page_graph.put_connections(page_id, 'feed', :message => "post mesage..", :picture => picture_url, :link => link_url)
但公开帖子只对我可见,对访问该页面的所有其他用户隐藏。
有人可以帮助我如何在粉丝页面墙上发布公共帖子以对所有用户可见吗?谢谢。
【问题讨论】:
-
我在生产中面临同样的问题。
标签: ruby-on-rails ruby facebook-graph-api koala