Guys is there any plan to add same better error handler to the plugin?
Cannot use object of type stdClass as array
wp-content/plugins/twitter-stream/twitter-stream.php:372
twitter_stream_parse_tweets(stdClass Object ([errors] => Array ([0] => stdClass Object ([message] => Rate limit exceeded,[code] => 88))), Array ([username] => ,[count] => 1,[date] => ,[profile_link] => Visit My Profile,[retweets] => FALSE,[show_followers] => ,[cache_time] => 5000,[echo] => 1))
Thanks
]]>Great plugin, thanks! I’m not sure there’s currently an option to enable visitors to retweet or favourite the tweets that appear. If not, is this a feature you could add?
]]>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.
)
)
)
]]>
Not sure what happened – more than likely f*ing twitter changed their api yet again. But the plugin now breaks my theme and doesn’t display tweets. Anything below the plugin in the sidebar is blank — other widgets, footers, formatting.
]]>Hi! Thanks for a great plugin!
I would dearly love it if you would call do_action( 'twitter_stream_new_tweets');
whenever you get (new) tweets from Twitter. We use the Really Static plugin and I would like to be able to refresh the static version of my site whenever new tweets appear. If I could add_action( 'twitter_stream_new_tweets', 'refresh_content');
my task would be so much easier.
Thanks for considering this feature request!
]]>Hey there! I am troubleshooting some server issues (probably unrelated to this issue) for a client of mine who has been using Twitter Stream for awhile now. In looking at the logs, I’m seeing a bunch of the following errors
PHP Fatal error: Cannot use object of type stdClass as array in D:\websites\whole30.com\site\wp-content\plugins\twitter-stream\twitter-stream.php on line 371
Windows Server 2012, WordPress v3.9.1, Twitter Stream v2.6.2
When I look at the line indicated in the error message, it’s the following (inside twitter_stream_parse_tweets()):
$followers = $content[0]->user->followers_count;
Any thoughts as to what could be causing these errors?
Thanks,
Nick Kirkes
]]>There is an error
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.
Changing
function twitter_stream_add_options() {
add_options_page('Twitter Stream Authorize Page', 'Twitter Stream', 8, 'twitterstreamauth', 'twitter_stream_options_page');
}
to
function twitter_stream_add_options() {
add_options_page('Twitter Stream Authorize Page', 'Twitter Stream', 'active_plugins', 'twitterstreamauth', 'twitter_stream_options_page');
}
on line 66-68 of the twitter-stream.php will fix it.
]]>My client installed this and Twitter Like Box reloaded. Both call the Twitter OAuth class so the site dies with a fatal error.
I’d love to see someone check if the class exists before declaring it again. I don’t doubt that this conflict could happen with many plugins that do something with Twitter.
]]>Hello- I am using Woo Themes Canvas. I am not very techie. I use Twitter stream on our homepage to feed our FB page. It quit feeding several days ago. I deleted the widget and created a new one several times without results. Can you advise me further? bgparent.com
]]>