title: Using Koala to post to a user's Page's wall from an app
body: <p>I already a facebook app with users already using it.  I already have the feature to post to their walls through Koala.</p>
  
  <pre><code>@oauth = Koala::Facebook::OAuth.new options[:fb_application_id], options[:fb_secret_key]
  @graph = Koala::Facebook::API.new @oauth.get_app_access_token
  @graph.put_connections(fb_user_id, "feed", :message =&gt; 'sample message')
  </code></pre>
  
  <p>Now I want to add a feature wherein I can get a user's Page ID and allow my app to post to that Page. </p>
  
  <p>Something like below:</p>
  
  <pre><code>@oauth = Koala::Facebook::OAuth.new options[:fb_application_id], options[:fb_secret_key]
  @graph = Koala::Facebook::API.new @oauth.get_app_access_token
  @graph.put_connections 'the_page_id', 'feed', :message =&gt; 'this is a message to post'
  </code></pre>
  
  <p>The result of the line above is: </p>
  
  <pre><code>Koala::Facebook::ClientError: type: OAuthException, code: 200, message: (#200) The user hasn't authorized the application to perform this action [HTTP 403]
  </code></pre>
  
  <p>I already set the permission 'manage_pages publish_actions publish_stream' in the app side and when the user authorized the app.  </p>
  
  <p>Please help. </p>
  
  <p>Thanks!</p>