401 error when authorised user posts to twitter
ianreeves - July 27, 2009 - 17:46
| Project: | |
| Version: | 6.x-2.6 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
The module is working nicely for me as main admin user, but other authorised users are getting an error when they post a blog to the site. They have set up their Twitter accounts on their Drupal user profile, complete with passwords. But when they post a blog, they're getting the following message:
An error ocurred when posting to twitter: 401 Unauthorised
I've checked permissions, and they should all be fine.
When I go in as admin and re-save the blog entries, they successfully post to the global Twitter account, but not to the individual users' Twitter accounts.
Any ideas?

#1
In fact I can clarify exactly when this 401 error message is occurring. It's when an authorised user has added their own Twitter account details to their user profile.
When they haven't added their own Twitter account, the system posts to the global account without problem.
As soon as they add their own account, they get the 401 Unauthorised message when they post - and no tweet is sent either to the global account or to their own account.
The Tweets from their own account are importing into Drupal, though.
#2
I am also experiencing this problem.
#3
Take a look at the issue at http://drupal.org/node/356379, esp. my patch at http://drupal.org/node/356379#comment-2188398 I think I had the same problem as this, and the patch there addresses that issue (in my case, for users with multiple Twitter accounts associated with their Drupal account, but the logic should work with only one account associated too).
#4
*subscribe*
#5
subscribe