Title: Needs More Error Checking
Last modified: August 30, 2016

---

# Needs More Error Checking

 *  [Brandon Dove](https://wordpress.org/support/users/brandondove/)
 * (@brandondove)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/needs-more-error-checking/)
 * Need error checking on line 370 of twitter-stream.php. When your access has been
   revoked on Twitter or your token expires for whatever reason, the object that’s
   being returned isn’t in an expected format and throws an error. See below for
   the output:
 *     ```
       stdClass Object
       (
           [errors] => Array
               (
                   [0] => stdClass Object
                       (
                           [code] => 89
                           [message] => Invalid or expired token.
                       )
   
               )
   
       )
       ```
   
 * [https://wordpress.org/plugins/twitter-stream/](https://wordpress.org/plugins/twitter-stream/)

The topic ‘Needs More Error Checking’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/twitter-stream.svg)
 * [Twitter Stream](https://wordpress.org/plugins/twitter-stream/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/twitter-stream/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/twitter-stream/)
 * [Active Topics](https://wordpress.org/support/plugin/twitter-stream/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/twitter-stream/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/twitter-stream/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Brandon Dove](https://wordpress.org/support/users/brandondove/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/needs-more-error-checking/)
 * Status: not resolved