title: open Facebook with Intent and url facebook
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4810803/open-facebook-page-from-android-app">Open Facebook page from Android app?</a>  </p>
  </blockquote>
  
  
  
  <p>when I load a url with</p>
  
  <pre><code>Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); 
  startActivity(intent);
  </code></pre>
  
  <p>when it starts with "<a href="https://twitter.com" rel="nofollow noreferrer">https://twitter.com</a>", it offering me different android applications including Twitter. But when I load a url when she starts with "<a href="https://facebook.com" rel="nofollow noreferrer">https://facebook.com</a>" android proposed that browsers do.</p>
  
  <p>I know that I can pry open with the facebook app if I use the API, but I just have one button in my application for facebook and I do not think the API is the lightest. Do you have any idea to overcome this requirement and ensure that android offers me even when facebook?</p>
  
  <p>Those who think what this post is already answered are right, but the facebook API is heavy and I'd try to avoid. thank you for your understanding. I hope that there is a possibility.</p>