BushMackel
Forum Replies Created
-
So… I didn’t go through all this code from top to bottom but I spent a good deal of time trying to get it working in some form. To be clear, I’m not the original developer on this, this is not my plugin, and I’m just posting what I did in hopes that it can help someone else.
So basically my approach was to try and figure out why it was displaying no tweets available and sooner rather than later that meant checking to see what arguments (if any) the code was sending to Twitter. My conclusion (which could be an errant one) is that it is not saving the options accurately from the backend/loading the options into the actual calls (at least in my case).
I found this out by comparing what I had saved in the backend to what was in the $widgetOptions variable in the _getTweets() function in wp-twitter-widget.php. When I found they weren’t the same, I just tried adding this line right after “private function _getTweets( $widgetOptions ) {“:
$widgetOptions[‘items’] = 3;
And then (at least for me) it worked. I tried setting some other options manually in this fashion and they didn’t really work for me so again, I don’t really feel good about this fix, but at least it’ll do until (hopefully) the dev fixes what is up here.
@twilightfairy Dunno but I know I’ve been waiting two weeks and haven’t seen anything. Maybe if I get some time this week I’ll see if I can fix it myself by debugging the plugin. If I do, I’ll give you a head’s up here.