It will do this currently. Longer term, I may need to add a function to check old tweets (although this could be tricky with rate-limiting) or limit the function to ‘search’ (where it’s really needed).
For the time being, I’ve added a shortcode variable called merge_cache to the development version. If you put merge_cache=0 in your shortcode, it should remove the old value.
Thread Starter
lns
(@lizns)
Thanks Martin. I’ve uploaded the dev version you linked to but it still seems to be showing the deleted tweet. You’re sure this is the dev version? I searched for merge_cache but it’s not showing up in any files.
Thanks!
I had a problem with the upload.
Could you try again?
Thread Starter
lns
(@lizns)
It worked π Thank you!
Hi there,
I have got a question about a deleted twitterpost that’s still showing, still even after a week. How can I delete that post?
I already tried it with the shortcode as describe above, but it didn’t help…
Any suggestions?
Have you downloaded the development version?
Hello Martin
I have this same problem – but I use a widget. Should I try the development version?
The code is built in to do this now, but only works for shortcodes.
One option would be to preview a post which included the same search/user combination as the widget – but included merge_cache=0 in it. This will clear the cache for the widget as well.
Is this happening on a search? Or calling more than one user? Or just on a regular set of tweets for one user?
I’ll do some code to make sure deletions work.
Martin,
Sorry – no expert here. I use the plugin on my home page, not on a post or page. So not sure how to preview. Can’t say I’m following you on the search/user stuff but I’ll tell you how I use this if that helps – I post something on the blog page and another plugin automatically posts something on Twitter with a link back to my post. The Rotating Tweet on my web site home page displays the most recent 5 Tweets. I have deleted a couple of Tweets but they continue to show up in my Rotating Tweets. Yesterday I tried a test of the WP to Twitter plugin thinking it would “refresh” the Rotating Tweets – but the test was just added to the list and now it is showing up even though I deleted it. An earlier deleted Tweet is still there. As a work-around I was thinking of retweeting 5 Tweets (adjust the setting temporarily) – maybe that would update the list? To see: envantage.com
You don’t need to publish a post to ‘clear the cache’ – just a preview of a post or page which includes:
[rotatingtweets merge_cache=0 screen_name='yourscreenname']
I’ll look at a better solution that doesn’t require you to do this.
I’ve uploaded a new development version which should fix your problem.
Martin – you are a scholar and a gentleman! It worked! Thanks for the fix!