title: Integrate twitter in drupal 7 website
body: <p>I am trying to get the twitter module (7.x-5.4) running on my local drupal 7.19 website. Already installed Oauth and registered a twitter app. I am using the keys of that twitter app.</p>
  
  <p>Callback URL
  <code>http://localhost/drupal-7.19/twitter/oauth</code></p>
  
  <p>twitter host
  <a href="http://twitter.com" rel="nofollow">http://twitter.com</a></p>
  
  <p>Twitter API
  <a href="https://api.twitter.com" rel="nofollow">https://api.twitter.com</a></p>
  
  <p>Twitter search
  <a href="http://search.twitter.com" rel="nofollow">http://search.twitter.com</a></p>
  
  <p>TinyURL
  <a href="http://tinyurl.com" rel="nofollow">http://tinyurl.com</a></p>
  
  <p>when I want to add at least my own twitter account so that the site can display my tweets. when I want to add this account, an error occurs:</p>
  
  <p>Notice: Undefined property: stdClass::$data in Twitter->request() (line 131 of root\modules\twitter\twitter.lib.php).
  Could not obtain a valid token from the Twitter API. Please review the configuration.</p>
  
  <p>any ideas? thanks in advance.</p>