title: Posting to Facebook Page through API as the page (with admin rights)
body: <p>I'd like to run a background service in Ruby to post to my Facebook page once a day. What's the best way to do this? I've read through the Graph API, but most of their documentation relies on first requesting permissions from the User. How do I grant those permissions for my own use and not the end user of my app? For example, Twitter gives you authentication tokens to connect to your own accounts. </p>
  
  <p>A lot of the answers about the Graph API here are outdated. I'm using Ruby, so any recommendations for gems or any of the SDKs on their website. </p>
  
  <p><strong>Update</strong></p>
  
  <p>Thanks to @oldergod for the response. I have an updated question. </p>
  
  <p>When I do this, I am able to post as the <code>myPageName</code> to <code>myPageName</code>'s wall. </p>
  
  <pre><code>@graph.put_connections("myPageName", "feed", :message =&gt; "I am writing on my wall!")
  </code></pre>
  
  <p>But when I do this:</p>
  
  <pre><code>@graph.put_connections("me", "feed", :message =&gt; "I am writing on my wall!", :link =&gt; "http://google.com")
  </code></pre>
  
  <p>It posts to <code>myPageName</code> as <code>me</code></p>
  
  <p>What am I doing wrong? I have requested <code>manage_pages</code> permissions.</p>