title: Facebook Graph API - Get ID from Facebook Page URL
body: <p>I have seen <a href="https://stackoverflow.com/questions/3581488/facebook-graph-api-get-id-for-a-url">this question</a> but what I want is different.</p>
  
  <p>I want to get the Facebook ID not from a general URL (and therefore conditional if it has Like button or not). I want to get the Facebook ID given a Facebook page using the Graph API.</p>
  
  <p>Notice that Facebook pages can have several formats, such as:</p>
  
  <pre><code>http://www.facebook.com/my_page_name
  http://www.facebook.com/pages/my_page_name
  http://www.facebook.com/my_page_ID
  </code></pre>
  
  <p>I know I could do some regex to get either the my_page name or my_page_ID, but I am wondering if any one know if GraphAPI is supporting what I want.</p>