title: Android facebook intent to show profile with class com.facebook.katana.ProfileTabHostActivity doesn't work any more
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4191492/launch-facebook-app-from-other-app">launch facebook app from other app</a>  </p>
  </blockquote>
  
  
  
  <p>Till few days ago, in order to show to my users another user profile I used the following solution:</p>
  
  <pre><code>Intent intent = new Intent(Intent.ACTION_VIEW);
  intent.setClassName("com.facebook.katana", "com.facebook.katana.ProfileTabHostActivity");
  Long uid = new Long("123456789");
  intent.putExtra("extra_user_id", uid);
  startActivity(intent);
  </code></pre>
  
  <p>This solution is used by a lot of the stackoverflow users (From seeing all the questions and answers about this subject).</p>
  
  <p>The last facebook app update (1.9.11), maybe even before made this solution obsolete.
  Now you will get the following exception for doing so:</p>
  
  <blockquote>
    <p>java.lang.SecurityException: Permission Denial: starting Intent {
    act=android.intent.action.VIEW
    cmp=com.facebook.katana/.ProfileTabHostActivity (has extras) } from
    ProcessRecord... requires null</p>
  </blockquote>
  
  <p>Does anyone know how can I now open the facebook app?</p>
  
  <p>Thanks</p>