WordPress.org

Ready to get started?Download WordPress

Forums

Twitter Widget Pro
"No Tweets Available"... mostly (38 posts)

  1. impactracer
    Member
    Posted 1 year ago #

    Either the new update broke my plugin or the timing of this error is coincidental— I get "No Tweets Available" 9 times out of 10 on my site http://cl.ly/2n0o1F1I241R at the very bottom

    Site has rather low traffic, and it seemed okay once I got the plugin updated but while working on CSS it just suddenly stopped working *most* of the time. Occasionally I will reload the page and see a few tweets. My code:

    <?php echo do_shortcode(' [twitter-widget username="YamamotoIND" hidereplies=false hidefrom=false avatar=small items=7 title=TWITTER showfollow=false showretweets=true showintents=false fetchTimeOut=60 showts=30]'); ?>

    http://wordpress.org/extend/plugins/twitter-widget-pro/

  2. Aaron D. Campbell
    Member
    Plugin Author

    Posted 1 year ago #

    You successfully created the Twitter application and authorized the YamamotoIND user?

  3. impactracer
    Member
    Posted 1 year ago #

    Sure did. Seemed to be working fine for a few minutes.

  4. Rootside
    Member
    Posted 1 year ago #

    I’m seeing the same or similar behaviour on my test site (out of the box WordPress + your plugin, nothing else). Worked for a bit after updating to 2.5.2, then showed ‘No tweets available’. I’m occasionally seeing the tweets, but only after changing some settings (and not every time).

    WordPress 3.5.1
    Twitter Widget Pro 2.5.2

  5. RizB
    Member
    Posted 1 year ago #

    Hi there,

    I've also suddenly just got this. Just logged on to my site after a few days and noticed the Twitter widget says "No Tweets Available". Also the CSS is a little out of whack - I've made no changes to it.

    I have not yet updated to the latest version of the widget - still using Version 2.4.1 with Worpdress 3.5.1.

    Any ideas?

    Thank you.

  6. RizB
    Member
    Posted 1 year ago #

    Okay...never mind...issue resolved.

    For some reason...my settings' page for the widget had been set to default. Don't ask me how...I've not been working on the site for a few days...and it was working fine then.

    In any case...all working fine now.

  7. RizB
    Member
    Posted 1 year ago #

    Sorry...jumped the gun on this...I accidentally switched to my localhost version of the site where it was still working. The live site still has the same problem.

    I'm in the process of upgrading the widget - we'll see if that helps.

  8. Rootside
    Member
    Posted 1 year ago #

    Switched on WP_DEBUG:
    Notice: Trying to get property of non-object in xxxxxxxxxxxx.xxx/public_html/wp-content/plugins/twitter-widget-pro/wp-twitter-widget.php on line 869
    The same for lines 1149, 1150, 1153 and 1155

    Behaviour is consistent:

    • I get “No Tweets Available” (and the above notices), but the follow button with the correct username is showing
    • when I change a setting, I see my tweets (and no warnings or notices) on the first reload. I reload the page again, and they’re gone
    • changing settings doesn’t always have that effect: it seems I need to wait a while to recreate this behaviour

    Clearing update locks: “There were no locks to clear!”
    Rate usage looks okay, nowhere near the limit

  9. Rootside
    Member
    Posted 1 year ago #

    Updating to 2.5.3 got rid of the PHP notices mentioned above, but the issue is still the same: “No Tweets Available”

  10. RizB
    Member
    Posted 1 year ago #

    For the record, I upgraded to Version 2.5.2 (WordPress: V.3.5.1) and it's all working now.

  11. Rootside
    Member
    Posted 1 year ago #

    I went through all kinds of settings, and now I see the following:

    • If I set the number of items to 1, 2, 3 or 4, the tweets show consistently, no errors – at least at the moment.
    • If I set the number of items to 5 or higher, I either get ‘No Tweets Available’, or they show on the first reload and disappear again thereafter.
    • Tweeting (adding a new tweet to my timeline) increases the number of “working” items: up to 5 items show, setting it to 6 results in ‘No Tweets Available’. And so on.

    This pattern suggests that something in the process seems to choke on older tweets (about 6 or 7 days old), and the widget fails to display even the newer ones.

    I hope that helps – might also explain why so few people seem to experience this issue.

  12. toddswardenski
    Member
    Posted 1 year ago #

    I've used this plugin on a couple different client sites in the past month or two, and I didn't have any issues until I upgraded to 2.5.0. A previous client website that hasn't been upgraded from 2.4.1 is displaying their Twitter feed as expected, but on my most recent installation of the plugin I am getting this 'No Tweets Available' in defined sidebar where the widget is placed.

    On the most recent site, I began development with 2.4.1 and upon upgrading to 2.5.0 I started seeing this message more and more frequently after the first day. I went through the necessary steps to approve and assign the app within the client's Twitter admin, and it will display their Tweets very, very occasionally (1 out of every 20+ page loads).

    Here's a link to the dev site, though there's nothing to really see because the plugin isn't outputting anything other than the message.
    http://bestbsu.mediafuel.net/

    Edit: The site is using the latest WordPress release.

  13. Rootside
    Member
    Posted 1 year ago #

    toddswardenski:

    I had a quick look – your client’s last tweet is from 6 March. On my test site, the widget also seems to choke on tweets from 6 March or older (as of today). It suggests a certain pattern.

    (edit: I see you’re testing, and the newer tweets are showing on the site. I wonder if you can recreate the behaviour that I am seeing: do all the tweets disappear if you set the number of items to include an older tweet?)

    It’s difficult to test, because if my guess is right and tweets that are “too old” take down the whole output, then people who tweet 3 times a day or more will never run into this behaviour, even if they display the full 20 items.

    Aaron – I’d be happy to give you access to my test site http://twp.antfarm.at if that helps at all.

  14. toddswardenski
    Member
    Posted 1 year ago #

    Rootside:

    I saw your earlier post about the issue you were having with Tweets in the feed from about a week or so ago breaking the plugin, so I thought I would test that theory out and put 2 brand new Tweets out.

    Like you just saw it fixed the issue, but obviously I can't guarantee someone else's Twitter activity. The client on the other dev site that hasn't experienced the same issue Tweets between 5 and 10 times per day, so this suggests your observation is probably correct.

    Unfortunately, I really like this plugin but it looks like I'm going to need to use a different one for now until this issue [hopefully on the next update] gets resolved.

    Update: I deleted one of the Tweets and after the plugin's cache was reset, the output went back to 'No Tweets Available'

  15. Rootside
    Member
    Posted 1 year ago #

    I agree: you can’t tell people to keep tweeting or else their site will go weird ;-)

    And I second the thoughts about the plugin in general: it’s fantastic when it works – exactly what I’ve been looking for.

    As for the issue itself, I’m happy to see someone else can reproduce what I’m seeing – perhaps Aaron can shed some light, or use this information to investigate.

  16. Rootside
    Member
    Posted 1 year ago #

    Update:

    The widget – or the API – seems to choke on Emoji characters. I deleted a tweet containing Emoji, and the widget works as expected. When I add it again, I see “No tweets available”. Will keep an eye on it.

    Aaron, any comments on that?

  17. Aaron D. Campbell
    Member
    Plugin Author

    Posted 1 year ago #

    Rootside: I haven't seen any characters that work on Twitter and don't work with Twitter Widget Pro. But if you find some, let me know.

  18. Rootside
    Member
    Posted 1 year ago #

    I have – I tested it with several different Emoji characters.
    Example: https://twitter.com/Rootside/status/312599644007976960

    …and it seems to take down the whole output of Twitter Widget Pro: as soon as I posted it, I got ‘No Tweets Available’ on http://twp.antfarm.at
    Without the Emoji-tweet, the output is fine.

    To be precise: this googly eyes character works (on Twitter) in Tweetbot for Mac, Tweetbot for iOS, and in Safari/Mac. Chrome/Mac displays a rectangle (ie the symbol for an unsupported character), and Firefox/Mac shows the character in the title bar, but a blank space inside the tweet content.

    However, this is somewhat besides the point, because the problem is not really the display of the character itself, but that the whole output in Twitter Widget Pro seems to choke on it.

    I don’t mind if unsupported characters aren’t being displayed – I wouldn’t even mind if the whole tweet gets passed over – but the ‘No Tweets Available’ for the whole batch if just one of them contains an unsupported character, that’s pretty bad, I think.

    Is there anything that can be done?

  19. ellienaudo
    Member
    Posted 1 year ago #

    It's definitely the emoji characters that are stopping this whole feed from working. I started suddenly getting the 'No Tweets Available' just sitting there after days of it working fine. Saw the post just now from Rootside, deleted the tweet that contained the emoji and its back up and working again. This definitely could do with being fixed if possible please.

  20. Rootside
    Member
    Posted 1 year ago #

    Just to confirm:

    I have kept an eye on it the last few days – the issue is completely reproducible. It’s also consistent with what I first described a week or so ago – it’s just that the problem isn’t the age of a tweet as I first thought, but it seems to be the content.

    I tested with several characters from different sets: http://en.wikipedia.org/wiki/Emoji

    Probably also worth noting: some people use Emoji in their username. https://twitter.com/LizVeniz/status/312760372182523905

  21. Rootside
    Member
    Posted 1 year ago #

    Further testing:

    I have set up another test site using a different plugin. It works the same way (API 1.1, app via dev.twitter.com etc.), displays the same feed, and is set to the same parameters. It handles Emoji characters as expected, i.e. displays them on Safari/Mac, other browsers show an empty character:

    http://twp.antfarm.at (Twitter Widget Pro)
    http://rstfw.antfarm.at (alternative)

    Same story on Windows 7: browsers treat Emoji the way they do on Twitter and via the feed, but Twitter Widget Pro displays “No Tweets Available”.

    This is to further show that the issue is with Twitter Widget Pro, and not with the feed that is coming from the Twitter API. I don’t know the ins and outs of handling a feed that contains these characters, but it would be great to get some kind of statement on this.

    Unfortunately I can’t offer any help beyond testing – juggling character sets in JSON feeds is not really my field of expertise.

  22. Rootside
    Member
    Posted 1 year ago #

    No comment at all?

    Emoji is widely used on Twitter, I consider this a serious bug.

  23. Aaron D. Campbell
    Member
    Plugin Author

    Posted 1 year ago #

    I have not had a lot of time to work on my plugins over the last several weeks. We've been working hard on WordPress 3.6 and on getting the beta ready. Looking into this is on my TODO list, but I have no idea when I'll get to it.

  24. Rootside
    Member
    Posted 1 year ago #

    Cool, thanks for the update. I understand the nature of these things and I know that people are busy – I was merely wondering if this had slipped under the radar somehow.

    In the meantime, good luck with the rest of 3.6

  25. peachorama
    Member
    Posted 1 year ago #

    FYI--

    "No Tweets Available" also appearing in my Twitter Widget Pro sidebar and "no locks to clear" on the settings page. Widget was working fine for a few months - not sure when this problem started.

    thanks!

  26. sccr410
    Member
    Posted 1 year ago #

    I am also having this issue

  27. Todd
    Member
    Posted 1 year ago #

    I'm also having this issue, except I don't know if it's related to Emoji. Any updates, Aaron? Thanks!

  28. Us44
    Member
    Posted 1 year ago #

    Just had the same issue with "No Tweets Available" showing up. I noticed that a retweeted tweet contained a square symbol like this -> .

    I unretweeted the tweet and Twitter Widget Pro started to work again as usual. So it must be a problem with the Emoji symbols.

  29. Moondrop
    Member
    Posted 1 year ago #

    The cause of my issue was the same as Us44's. Emoji icons makes the feed stop working and display "No Tweets Available."

  30. Moondrop
    Member
    Posted 1 year ago #

    I have found a solution, that will display the tweets containing emojis. The emoji may display as a white box, but everything else will display properly.

    The emojis were affecting the arrays/transients. In the 'tlc-transients.php' file:

    Where there is a set_transient you need to serialize(), base64_encode(), then set_transient() instead.

    Where there is a get_transient you need to get_transient(), base64_decode(), then, unseralize() instead.

    Credit goes to the answer posted here.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.