I'm trying to add an account but I keep getting these errors:
- Notice: Undefined property: stdClass::$data in Twitter->request() (line 131 of /private/var/www/test/sites/all/modules/contrib/twitter/twitter.lib.php).
- Could not obtain a valid token from the Twitter API. Please review the configuration.

Anybody any idea how I can fix this?

Comments

pumpkinkid’s picture

I am seeing this as well. Not sure what the cause is...

juampynr’s picture

Have you set your callback URL at your Twitter application at http://dev.twitter.com? See http://drupal.org/node/1346824 for more info.

pumpkinkid’s picture

I have... I've seen multiple posts where you suggest the same fix, I guess I should have clarified that I have followed in detail the information provided in your second link and verified all my settings.

Everything was working fine for months until about a week ago. I only noticed because the twitter view on my site had not updated since then.

pumpkinkid’s picture

I figured it out, not sure if it's the same problem as the OP, but my server was not communicating to the outside world... weird because the server *was* running fine (or so it seemed).

What tipped me off was that the Mollom module was also producing an error re: API keys. I rebooted my server and all is well now.

Thanks for the time!
-PK-

pumpkinkid’s picture

Issue summary: View changes

Typo

damienmckenna’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Sounds like a server problem maybe? If the problem persists, please reopen the issue and we'll see what we can do to help you further.