title: Create a facebook application programmatically
body: <p>I'm trying to programmatically create an application in Facebook. I can do that with this:</p>
  
  <p><a href="https://www.facebook.com/connect/create_app.php?api_key=[key]&amp;name=app_name" rel="nofollow noreferrer">https://www.facebook.com/connect/create_app.php?api_key=[key]&amp;name=app_name</a></p>
  
  <p>However, there's always a popup that says "Allow [Root App] to integrate Facebook functionality for you?" ... OK.</p>
  
  <p>Is it possible for the "Root App" to create the application on the user's behalf without the popup via some previous permission which they have allowed, like stream_publish ...etc or maybe a session_token or ??</p>
  
  <p>Someone said I can create child apps via "admin.setAppProperties" but couldn't get it working. I've also tried "FB.Connect.createApplication" and "Facebook.createApplication" but also failed.</p>
  
  <p>Can anyone help? Maybe with some sample code.</p>