title: Can't send tweet anymore: plugin com.apple.share.Twitter.post invalidated
body: <p>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:</p>
  
  <pre><code>    twitterComposeViewController.completionHandler =
  ^(SLComposeViewControllerResult result){
          if (result == SLComposeViewControllerResultDone){
              ...
          }
      };
  </code></pre>
  
  <p>and dismisses the Twitter share view, but the tweet fails. I get a alert view that says,</p>
  
  <blockquote>
    <p>Cannot Send Tweet</p>
    
    <p>The tweet "[my tweet text]" cannot be sent because the connection to
    Twitter failed.</p>
  </blockquote>
  
  <p>A moment later, the console logs,</p>
  
  <blockquote>
    <p>plugin com.apple.share.Twitter.post invalidated</p>
  </blockquote>
  
  <p>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...</p>
  
  <p>Anyone know how to get more information about the error, or what I should check? Thank you.</p>