post on facebook page as a page

5 views
Skip to first unread message

bhuwan...@gmail.com

unread,
Apr 15, 2014, 6:39:23 AM4/15/14
to fb_g...@googlegroups.com

Hi
I followed the page management doc, and then tried to access the page_access_token but the "page.access_token" is coming out to be same as USER_ACCESS_TOKEN. I tried to post using

poster = FbGraph::Page.new(PAGE_ID, :access_token => USER_ACCESS_TOKEN).fetch

poster.feed!(:message => 'message to show', :picture => 'picture_url', :description => 'like duration etc', :link => 'link_to_url')

which posts on the page but as the user.

Also the 'posts.first.publish!' as giving in the docs, gave the error that this "User doesn't has access to publish".. Also there is no option give in the docs on how to publish a specific content..It just says posts = page.promotable_posts..

I searched and found many people going through the same problem, and I added the following permissions 'manage_pages, status_update, publish_actions', but this didn't work for me, even though these permissions were asked during authentication.

Please get this sorted out.

bhuwan...@gmail.com

unread,
Apr 15, 2014, 7:53:21 AM4/15/14
to fb_g...@googlegroups.com, bhuwan...@gmail.com
page = me.accounts.detect do |p|
p.name == "FBGRAPH"
end
page.feed!(
:message => 'Trying FbGraph::Page#feed!'
)

This did it for me
Reply all
Reply to author
Forward
0 new messages