• Have this plugin for ages and now it stopped working. Is it compatible with latest WP? Or Twitter API changed again?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Martin Tod

    (@mpntod)

    What’s not working? Pulling messages or displaying them?

    It’s working fine on my test site, so I can’t replicate this.

    Martin

    Thread Starter AlexPTY

    (@alexpty)

    widget display blank, no tweets showing

    Plugin Author Martin Tod

    (@mpntod)

    Hard to diagnose the problem without looking at the site.

    If you ‘View Source’, are the Tweets in the HTML, just not being displayed, or is there an error message highlighting a problem with pulling the Tweets?

    If you look at the Console, are there any JavaScript errors on the page?

    Sorry to Hijack!

    Same problem here, no tweets in HTML, no obvious issues in the console. WP 5.2.1, PHP 7.2, RT 1.9.8.

    https://icesculpture.co.uk

    Thanks,
    Justin

    Plugin Author Martin Tod

    (@mpntod)

    That’s very helpful and very odd.

    The total disappearance of any code makes me wonder if it’s a problem with how Rotating Tweets works with W3 Total Cache. I wonder if @alexpty is using it?

    What happens if you drop a new Rotating Tweets widget in there?

    Do you have a test version of the site which you could run using:

    define( 'WP_DEBUG', true );
    

    in the wp-config.php file?

    Martin

    • This reply was modified 5 years, 9 months ago by Martin Tod.

    Hi,

    I disabled W3 Total Cache for a moment, and no change. I briefly enabled debug, and just got a ‘Deprecated’ about another plugin (youtube-video-player). I added another widget (currently called coming soon) for you to observe.

    Many thanks for your help,
    Justin

    Plugin Author Martin Tod

    (@mpntod)

    Even more interesting.

    Surprised you got nothing when DEBUG was switched on. There are normally quite a few extra comments added to the page (not always immediately next to the widget) as the site interacts with Twitter. Although they’re not visible since they’re commented out, but they are in the HTML.

    Ahh i get you!

    <!-- option[icesculptor11] does not exist -->

    and

    error 89
    Invalid or expired token.

    jump out.

    It seems to be putting 2 numbers on the end of the twitter handle (the other widget had 00 appended to its username in its error message)

    Plugin Author Martin Tod

    (@mpntod)

    All <!-- option[icesculptor11] does not exist --> means is ‘check if the tweets for icesculptor (including RTs and excluding replies) have been cached’ (and it reckons they haven’t).

    The error code is Twitter refusing to send data back to you as per https://developer.twitter.com/en/docs/basics/response-codes.html

    What happens if you check the application API codes in Twitter?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Just stop working after latest WP update’ is closed to new replies.