title: How to fix "Unsupported post request" when posting to FB fan page?
body: <p>I have a script which can do the ff:</p>
  
  <ul>
  <li>post a link to a user's timeline/wall</li>
  <li>post a link to a user's page as an admin</li>
  </ul>
  
  <p>The posting to a user's profile page works fine. However, the posting to a fan page is acting weird, I <strong>am able to post</strong> but I get back the <strong>"Unsupported post request" error</strong>.</p>
  
  <p>I've searched SO about this problem and tried every solution offered but still I get this error. I tried both the PHP 4.0.0 SDK and PHP 3.2.3 SDK, same error.</p>
  
  <p>Here is an excerpt of my code using SDK 3.2.3:</p>
  
  <pre><code>        $ret_obj = $this-&gt;fb_obj-&gt;api("/{$page_id}/feed", 'POST',
              array(
                  'link' =&gt; $link,
                  'message' =&gt; $message,
              ));
  
  
          if($ret_obj){
              return $ret_obj['id'];
          }
  
          return false;
  </code></pre>
  
  <p>While here is my code using SDK 4.0.0:</p>
  
  <pre><code>        $response = (new FacebookRequest(
              $session, 'POST', $edge, array(
                  'link' =&gt; $link,
                  'message' =&gt; $message,
              )
          ))-&gt;execute()-&gt;getGraphObject();
  
  
          if($response){
              return($response-&gt;getProperty('id'));
          }
  
          return false;
  </code></pre>
  
  <p>As for scope of permissions, I use the ff => 'email','user_about_me','offline_access','publish_stream','publish_actions','manage_pages','user_photos','user_groups'.</p>
  
  <p>Has anyone encountered this problem? </p>