title: Error (#200) The user hasn't authorized the application to perform this action facebook graph api php codeigniter
body: <p>Here are my permissions</p>
  
  <pre><code>$config['facebook']['permissions'] = array(
    'email',
    'user_location',
    'user_birthday',
    'publish_actions',
    'manage_pages',
    'public_profile',
  );
  </code></pre>
  
  <p>I can not post on a facebook page as a admin. It gives me this error</p>
  
  <pre><code>Exception occured, code: 200 with message: (#200) The user hasn't authorized the application to perform this action
  </code></pre>
  
  <p>if I remove <code>'access_token'  =&gt; $pageList['access_token'],</code> then I can post on the page but not as a admin.but when I add this line it gives me this above error can anyone tell me why
  Here is my function pagePost which I am using to post on a page</p>
  
  <pre><code> public function pagePost() {
      if ( $this-&gt;session ) {
  
      try {
  
        $pageAccessToken;
        $request_page = new FacebookRequest($this-&gt;session, 'GET', '/1420447421611683?fields=access_token,name,can_post');
        $pageList = $request_page-&gt;execute()
          -&gt;getGraphObject()
          -&gt;asArray();
  
        $request = ( new FacebookRequest( $this-&gt;session, 'POST', '/1420447421611683/feed',array(
                      'access_token'  =&gt; $pageList['access_token'],
                      'link' =&gt; 'www.example.com',
                      'message' =&gt; 'Hello Up',
                    ) ) )-&gt;execute();
          echo "Posted with id: " . $request-&gt;getProperty('id');
  
          $page = $request-&gt;getGraphObject()-&gt;asArray();
        return $page;
      } catch(FacebookRequestException $e) {
              echo "Exception occured, code: " . $e-&gt;getCode();
              echo " with message: " . $e-&gt;getMessage();
        }
      }
      return false;
    }
  </code></pre>
  
  <p>What is wrong?</p>