title: Getting user's liked pages using the facebook api in PHP
body: <p>I want to extract all of my liked pages (name, category, page id). I am at that point when it returns me a json with the last  100 liked pages and also it returns me a kind of pagination ( like <a href="https://developers.facebook.com/docs/graph-api/using-graph-api/v2.3#paging" rel="nofollow">here</a>). My problem is that I don't want a pagination I need all of my liked pages, once. I want to put all of this in a db. This is what I achieved:</p>
  
  <pre><code>//.....
  //login part
  //.....
  $user_profile = (new FacebookRequest($session, 'GET', '/me/likes?limit=100' ))-&gt;execute()-&gt;getGraphObject(GraphUser::className());
  echo "&lt;pre&gt;"; print_r($user_profile); echo "&lt;/pre&gt;";
  </code></pre>
  
  <p>How can I put my  all of my liked pages into one array ?</p>