{"id":6353815,"date":"2015-07-22T18:16:24","date_gmt":"2015-07-22T18:16:24","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/needs-more-error-checking\/"},"modified":"2016-08-30T16:00:42","modified_gmt":"2016-08-30T16:00:42","slug":"needs-more-error-checking","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/needs-more-error-checking\/","title":{"rendered":"Needs More Error Checking"},"content":{"rendered":"<p>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&#8217;s being returned isn&#8217;t in an expected format and throws an error. See below for the output:<\/p>\n<pre><code>stdClass Object\n(\n    [errors] =&gt; Array\n        (\n            [0] =&gt; stdClass Object\n                (\n                     =&gt; 89\n                    [message] =&gt; Invalid or expired token.\n                )\n\n        )\n\n)<\/code><\/pre>\n<p>https:\/\/wordpress.org\/plugins\/twitter-stream\/<\/p>\n","protected":false},"template":"","class_list":["post-6353815","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6353815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6353815\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6353815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}