无法再发送推文:插件 com.apple.share.Twitter.post 无效 [英] Can't send tweet anymore: plugin com.apple.share.Twitter.post invalidated
问题描述
我的应用程序使用 SLComposeViewController 发布到 Twitter.这工作了几个月,然后在大约一周前突然停止.Twitter 共享视图允许我按发布",而以下代码仍然到达..."行:
My app uses an SLComposeViewController to post to Twitter. This worked for a few months and then suddenly stopped about a week ago. The Twitter share view allows me to press "Post," and the following code still gets to the "..." line:
twitterComposeViewController.completionHandler =
^(SLComposeViewControllerResult result){
if (result == SLComposeViewControllerResultDone){
...
}
};
并关闭 Twitter 共享视图,但推文失败.我收到一个警告视图,内容为:
and dismisses the Twitter share view, but the tweet fails. I get a alert view that says,
无法发送推文
无法发送推文[我的推文文本]",因为连接到Twitter 失败.
The tweet "[my tweet text]" cannot be sent because the connection to Twitter failed.
片刻之后,控制台记录,
A moment later, the console logs,
插件 com.apple.share.Twitter.post 失效
plugin com.apple.share.Twitter.post invalidated
我在 SO 上查看了一些类似的问题,但没有一个适用的答案(我的推文未超过字符限制;我已正确登录;等等).我在 apps.twitter.com 上检查了我的设置,我没有看到任何异常......我的消费者密钥和秘密没有改变......
I have looked at some similar questions on SO, but none has an applicable answer (my tweet is not over the character limit; I am properly logged in; etc.). I have checked my settings at apps.twitter.com, and I don't see anything unusual.. my consumer key and secret have not changed...
有谁知道如何获取有关错误的更多信息,或者我应该检查什么?谢谢.
Anyone know how to get more information about the error, or what I should check? Thank you.
推荐答案
如果您尝试多次发布相同的推文,则会出现此问题.您每次都需要发布不同的推文.
This problem occurs if you are trying to post same tweet more than once. You need to post different tweet every time.
这篇关于无法再发送推文:插件 com.apple.share.Twitter.post 无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!