Saturday, July 14, 2012

401 Unauthorized: Authentication credentials were missing or incorrect.

本文解决Wordpress插件WP to Twitter安装使用过程中提示的”401 Unauthorized: Authentication credentials were missing or incorrect.“.

WP to Twitter是一个非常不错的插件, 可以自动将Wordpress博客中的日志推到Twitter, 如果Twitter账号设置了连接Facebook, 那么facebook中也会将日志展现出来.并且包含中文设置界面,非常不错的一款插件.
401 Unauthorized: Authentication credentials were missing or incorrect. 错误及解决办法

但是在安装, 进行设置之后, 设置中可以看到Twitter账号已经连接上了

但是在发表日志时,提示错误:

One or more of your last posts has failed to send it’s status update to Twitter. Your Tweet has been saved in your post custom fields, and you can re-Tweet it at your leisure.

401 Unauthorized: Authentication credentials were missing or incorrect.

Sorry! I couldn’t get in touch with the Twitter servers to post your new blog post. Your tweet has been stored in a custom field attached to the post, so you can Tweet it manually if you wish!

到Twitter中检查一下, 的确没有同步过来.

解决办法如下:

When creating your application, do not click the “create your access token” until you first click on Settings and change the Application Type to “Read, Write and Access direct messages”.
After your Twitter application has been updated to “Read, Write and Access direct messages”, click on the Home tab, and “create your access token”.
This should do the trick =)

中文翻译:

当创建应用程序时, 不要选择”create your access token”, 然后创建完应用程序后, 选择”Settings”, 然后将应用程序类型修改为”Read, Write and Access direct messages”.

在进行以上操作之后, 再点击Home菜单, 选择 ”create your access token” , 这时再创建 access token就可以了.

No comments:

Post a Comment