Sometimes you will get an 401 error as return code from Twitter when you have authorized the application or when you post to Twitter. There are some reasons and solutions: Check if Twitter is down: http://status.twitter.com/ Check your account token data again and check if the App has read and write permission on Twitter (See the Settings/Connections section on yout Twitter acount). Wait a view ho