title: PHP OAUTH class api
body: <p>I am using OAuth::fetch() example in PHP.net (<a href="http://php.net/manual/en/oauth.fetch.php" rel="nofollow">Outh code</a>. The cod i use is </p>
  
  <pre><code>&lt;?PHP
  try{
  $oauth = new OAuth("consumer_key","consumer_secret",OAUTH_SIG_METHOD_HMACSHA1,OAUTH_AUTH_TYPE_AUTHORIZATION);
  $oauth-&gt;setToken("access_token","access_token_secret");
  
  $oauth-&gt;fetch("http://photos.example.net/photo?file=vacation.jpg");
  
  $response_info = $oauth-&gt;getLastResponseInfo();
  header("Content-Type: {$response_info["content_type"]}");
  echo $oauth-&gt;getLastResponse();
  } catch(OAuthException $E) {
   echo "Exception caught!\n";
  }?&gt;
  </code></pre>
  
  <p>The Error message is </p>
  
  <p>Fatal error: Class 'OAuth' not found in C:\wamp\www\Jesvin\MyTest1\test1.php on line 3</p>