Hi,

The twitter module can't authenticate to twitter, given a correct username and password:

<?xml version="1.0" encoding="UTF-8"?> /statuses/update.xml Could not authenticate you.

from:
messaging/messaging_twitter/messaging_twitter.module
messaging_twitter_send_dm(...) and messaging_twitter_send_at(...)

Please fix!

Thanks,
Yonas

Comments

fizk’s picture

Hmm, it appears that the username and password are empty.......

i.e.

  $site_username = variable_get('messaging_twitter_username', '');
  $site_password = variable_get('messaging_twitter_password', '');
fizk’s picture

OK, the first problem was that

./messaging/messaging_twitter/messaging_twitter.module

uses "messaging_twitter_username" and "messaging_twitter_password", instead of "twitter_global_name" and "twitter_global_password".

The second problem is that Twitter returns:

Error: you are requesting an invalid URL

which probably means we're using an older version of the API.

Please fix! :)

fizk’s picture

The reason why the username/password wasn't working was because I didn't set it in :

/admin/messaging/settings/method/twitter

After setting it, I still get the invalid URL error.

fizk’s picture

Direct messages work, but not @ Messages

jose reyero’s picture

Status: Active » Closed (works as designed)

Yes, just as expected.