I followed the directions to get the twitter module working with oauth, and it was working great. But, it appears to have stopped working? I get a 'successfully posted to twitter message' after adding a new article or blog post, but when I check on twitter nothing is there. There are no errors on the site and all of the settings seem to be untouched. Nothing has changed on my end, but it's just not making it all the way to twitter.

Anyone else having this same issue? The last successful post was on the 15th.

Any help is greatly appreciated.

Thanks!
-Jeff

Comments

karensmallwood’s picture

I had the same issue and found that twitter had changed the authentication to using only OAuth and not the username and password anymore. I spent the weekend resolving the issue on my sites and this process works for all off them - hopefully it works for you too:

1. Put your site into maintenance mode
2. Switch off both the Twitter and OAuth module (if used)
3. Uninstall / Delete these modules
4. Download the 3x Dev version of the Twitter module - http://drupal.org/node/488268
5. Apply the patch from #5 on this post http://drupal.org/node/685964
6. Download the 2x version of OAuth - http://drupal.org/node/476824
7. Upload and enable both modules
8. Run Updates - /update.php
9. Clear Caches
10. Take your site out of maintenance mode
11. Go to admin/settings/oauth and change the OAuth cryptography to HMAC-SHA1
12. In a new tab sign into Twitter and navigate to - https://twitter.com/apps/new
13. Complete the fields in your new application - get the call back url from your site at - admin/settings/twitter
14. Save the application on Twitter and enter in the OAuth Consumer key and OAuth Consumer secret given on your site in the settings at - admin/settings/twitter
15. If you want users to sign up with twitter make sure the Twitter Signup module is enabled and edit settings in admin/settings/twitter/signin
16. Change any permissions at admin/user/permissions
17. Go to your user account at /user and edit. In the edit settings edit Twitter and add your twitter account - it will not work if you skip this step. If you want to make the account a global change the settings here

…….and your automated posting to twitter will work again

Good luck and I hope this helps

gjones’s picture

Works for me thanks!

marcus178’s picture

I've followed this to the T and I get Successfully posted to Twitter but nothing appears on Twitter and I don't get any errors. Not sure what could be wrong

karensmallwood’s picture

karensmallwood’s picture

Hi Marcus - when I was testing this process I had the same problem as you - On one occasion I had the wrong version of OAuth (I had 3 when it needs to be 2) then I hadn't switched on the OAuth module - and on another I hadn't linked the twitter account to my user account all of which said they had posted to twitter but nothing was there. Can you tell I spent an entire weekend troubleshooting this lol

Apart from checking those three things I am at a loss as to what to suggest......

timnorman’s picture

I'm having the same issue. I thought it was just me and I figured I'd work on it when I got the chance. I did the complete change over to Twitter 3.0 beta 2 and had it working with Oath 2.0 for a couple days. Then sometime last week Twitter stopped getting the messages, but I continued to get the sent to twitter successful message. I've just been copying them by hand. I know the twitter messages are being pulled from twitter successfully, but just not sent to twitter.

marcus178’s picture

Think I may have found the problem. When I created the app in Twitter I had originally set it to read only. Even though I had changed it to Read and Write later it was still showing as Read only in my connection list. I ended up deleting the app and starting again and it now works.

Anonymous’s picture

thanks all for the info...I have followed the directions to use twitter app 3 and oauth 2, but I am still having the same issues. after making all of the changes listed above and on other bug reports, it was working flawlessly, but then it stopped working sometime around the 15th of September.

socialnicheguru’s picture

subscribing

crutch’s picture

subscribe

greggles’s picture

Status: Active » Closed (duplicate)