Have you lost your ability to access your Twitter account in the Tweetbot for Mac? Assuming you still have your Twitter account authorized for the app, here’s how to do it:
- Close TweetBot for Mac.
- Locate the ~/Library/Preferences/com.tapbots.TweetbotMacAdHoc.plist file. You’ll be editing this file, so for those of you who are not so brave-of-heart, copy the file to your desktop now.
- Right-click (Ctrl-Click) it and open in Xcode, TextEdit, BBEdit or your text editor of choice.
- Modify the following entries: a) launchAccountUsername = your twitter handle, and b) accountTIDs = Number should equal your twitter number. You can enter as many Twitter accounts as you want here, as long as you had them previously authorized before your TweetBot beta broke. You can obtain your Twitter user number, by entering your Twitter name here: www.idfromuser.com
- Save the file. If you copied it to your desktop before editing, you should now paste the file back to your ~/Library/Preferences directory.
- Launch TweetBot for Mac and send a test tweet. If it works, I would appreciate you giving me a shout-out (@classicyuppie) with a link to this post.
Everything pointed out above was a happy accident. All throughout yesterday, I was content using Tweetbot. Late in the day, I needed to restart my MacBook Pro and when I got back into the system, for some reason, my install of TweetBot for Mac was hosed. I spent the better part of my evening and this morning searching for a way to fix the issue. At one point I gave up and installed Twitter for Mac. Eww.
it should be mentioned that the above steps will assume that you still have the necessary keychain items for Tweetbot still in your OS X keychain and that you still have TweetBot for Mac authorized in your Twitter.com account. I don’t know how the above steps will be affected if either of those items are missing. Regardless, as with any technical hack or tip I present on my blog, YMMV (your mileage may vary). You use my advice knowing full well that you might break something and could quite possibly damage your application (or worse).
For those of you brave enough to try what was quite literally my last ditch effort to save this application from my trash bin, Godspeed!
Update: I have further tested the .plist file to verify that you cannot add just any Twitter account to it. It must be a Twitter account that is still authorized through OAuth to use the application. I also tested a potential security flaw. I assumed that because the account username and TID was known that potentially any account previously authorized to use TweetBot for Mac could be entered in the .plist. However, this is not the case, as when the information is sent to Twitter through OAuth, a unique identifier is sent that prevents someone from maliciously adding your information to their installation of TweetBot.