Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7766089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T15:19:32+00:00 2026-06-01T15:19:32+00:00

How do I post to a user page using Koala? I don’t want to

  • 0

How do I post to a user page using Koala? I don’t want to post to a Users’ wall, but to a User page (a user can manage many pages).

The code I have right now is this:

facebook_graph = Koala::Facebook::GraphAPI.new(self.token)
facebook_graph.put_wall_post(message)

And I know you can do this

facebook_graph.put_wall_post(message, profile_id="page.id")

Where self.token is already in the scope of manage_pages, but I don’t even think that is necessary. So, how would you post to a particular page of a user which I have the access token using Koala? How do I discover the pages that a particular user has, and their correspondent ids?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T15:19:33+00:00Added an answer on June 1, 2026 at 3:19 pm

    Taken from the Koala README, this will post to a users wall:

    @graph.put_object("me", "feed", :message => "I am writing on my wall!")
    

    So, the following will post to the Wall of a page (in your context):

    graph = Koala::Facebook::GraphAPI.new(self.token)
    graph.put_object(page.id, "feed", :message => "I am writing on a page wall!")
    

    Ensure, that the token you use is a user token (if you want to post as a user) or a page token if you want to post as the page itself.

    More to read about Graph(Page): http://developers.facebook.com/docs/reference/api/page/

    and Koala: https://github.com/arsduo/koala

    EDIT: due to comment

    To get Pages of a user

    @graph.get_connections("me", "accounts")
    

    Documentation: http://developers.facebook.com/docs/reference/api/user/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can post on group / page and user wall, but i don't want
I want to write a page where user's can write a blog post and
I want to add a user control to my pages without page post backs.
I am creating a page where people can post articles. When the user posts
I'm using FB.ui to post to a Facebook user wall. However, I am uncertain
Possible Duplicate: 'Like' a page using facebook graph api I want to let users
I need to send a post request when the user leaves the page in
I have a blog post page with comments. Any user (logged in or not)
I'm dynamically adding a custom user control to the page as per this post
Is there a way to hide date and user info from a page post

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.