title: There is no extension able to load the configuration for "facebookbundle" symfony2
body: <p>I create my own FacebookBundle and</p>
  
  <p>I got this error:</p>
  
  <blockquote>
    <p>There is no extension able to load the configuration for
    "facebookbundle" (in /facebookx/app/config/config_dev.yml). Looked for
    namespace "facebookbundle", found "framework", "security", "twig",
    "monolog", "swiftmailer", "assetic", "doctrine",
    "sensio_framework_extra", "jms_aop", "jms_di_extra",
    "jms_security_extra", "d_facebook", "d_user", "d_security",
    "web_profiler", "sensio_distribution"</p>
  </blockquote>
  
  <p>The error message means that I got an entry "facebookbundle" in My config.yml which is not used by any extension ?</p>
  
  <p>My config.yml</p>
  
  <pre><code>facebookbundle:
      file:   %kernel.root_dir%/../src/FacebookBundle/Facebook/FacebookInit.php
      alias:  facebook
      app_id: xxx
      secret: xxx
      cookie: true
      permissions: [email, user_birthday, user_location, user_about_me]
  </code></pre>
  
  <p>My DFacebookExtension</p>
  
  <pre><code>&lt;?php
  
  namespace D\FacebookBundle\DependencyInjection;
  
  use Symfony\Component\DependencyInjection\ContainerBuilder;
  use Symfony\Component\Config\FileLocator;
  use Symfony\Component\HttpKernel\DependencyInjection\Extension;
  use Symfony\Component\DependencyInjection\Loader;
  
  /**
   * This is the class that loads and manages your bundle configuration
   *
   * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}
   */
  class DFacebookExtension extends Extension
  {
      /**
       * {@inheritDoc}
       */
      public function load(array $configs, ContainerBuilder $container)
      {
          $configuration = new Configuration();
          $config = $this-&gt;processConfiguration($configuration, $configs);
  
          $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
          $loader-&gt;load('services.yml');
  
          foreach (array('app_id', 'secret', 'cookie', 'permissions') as $attribute) {
              $container-&gt;setParameter('facebookbundle.'.$attribute, $config[$attribute]);
          }
  
          if (isset($config['file']) &amp;&amp; $container-&gt;hasDefinition('acebookbundle.api')) {
              $facebookApi = $container-&gt;getDefinition('facebookbundle.api');
              $facebookApi-&gt;setFile($config['file']);
          }
      }
  }
  </code></pre>
  
  <p>were is error ? </p>