title: Error Importing Vendor class in CakePhp
body: <p>I have:</p>
  
  <pre><code>App/Vendor/Facebook
  App/Vendor/Facebook/facebook.php
  </code></pre>
  
  <p>in <strong>App/Controller/AppController.php</strong> I used:</p>
  
  <pre><code>App::uses('facebook', 'Vendor/Facebook');
  </code></pre>
  
  <p>Then the AppController class is:</p>
  
  <pre><code>class AppController extends Controller {
  
      public $fb;
  
      public function beforeFilter() {
          $fb = new Facebook();   
      }   
  
  }
  </code></pre>
  
  <p>Here is the error I got:</p>
  
  <blockquote>
    <p>Fatal error: Class 'Facebook' not found in
    /home/users/example.com/www/app/Controller/AppController.php on line
    42</p>
  </blockquote>
  
  <p>How is this possible? What is wrong?</p>
  
  <p>Thanks!</p>