Tweets stopped pulling
-
I use rotating tweets on one of my multisites. The feeds have stopped coming in as of 8/18. There are newer tweets that should be showing.
How do I troubleshoot this?
I am running WP multisite 4.3
-
Even though I stepped through your 5-step instructions for “Twitter has changed the way that they allow people to use the information in their tweets.” and your “If there are any problems:” steps, the feeds are still not pulling.
I went into the twitter app and regenerated the entire set of Application Settings and Access Tokens and that did not do the trick. Neither did switching SSL on or off do it.
Does your plugin work with WP 4.3?
Here are a couple of options:
- Check that the Twitter account you’re trying to show still exists.
- Have a look at the HTML source code on the affected page – there are some basic error messages that show if there are problems pulling Tweets
- Go to the Settings->Rotating Tweets page, hit ‘save’ and see if you get an error message.
- Set
WP_DEBUG
to beTRUE
in yourwp-config.php
file and then take another look at the HTML source code on the affected page. There will be a bunch more diagnostics (although be warned that it may throw up other errors in your code as well)
Hope this is enough to get you started!
Yup. It’s working perfectly on all my sites – although switching on
WP_DEBUG
might show that something else isn’t!Martin
Check that the Twitter account you’re trying to show still exists.
Yes, hence the reason for my post “I went into the twitter app and regenerated the entire set of Application Settings and Access Tokens and that did not do the trick.”
Plus there are recent feeds that no longer appear — only the feeds from 8/18 and older
Do you use any caching software? It could also be interacting with that.
Go to the Settings->Rotating Tweets page, hit ‘save’ and see if you get an error message.
I did that before and after regenerating all the app and access codes — no errors in the WP UI
Do you use any caching software?
Nope — turned all that stuff off years ago (and deleted the plugins) as they’ve done nothing but wreak havoc on my multisites.
Have a look at the HTML source code on the affected page – there are some basic error messages that show if there are problems pulling Tweets
Looked at page source — nothing jumps out…what might I be “searching” for in page source?
Here you go…found the issue:
Here is the [shortcode] I use on my site:
[rotatingtweets screen_name='my-name' tweet_count='2' show_meta_screen_name='0' show_meta_via='0' no_rotate='1']
It does not bring in the latest tweets. Yet when I change
no_rotate='1'
tono_rotate='0'
— i.e., set it to zero (0) it works.Why?
That might be a cache bug. I’ll have a look at the code and try to work out why it might have been caching the same content for 10 days!
What happens if you change back to the old shortcode? I’m trying to understand if it’s overcaching the HTML or the Tweets…
caching on who’s end?
I have no caching plugins installed on my WP. I deleted them all a long time ago.
What happens if you change back to the old shortcode
What’s the “old shortcode“?
Do you mean the original version I was using where I had
no_rotate='1'
?If that’s what you mean, then it does not work when
no_rotate='1'
. So right now I have the shortcode pulling properly withno_rotate='0'
but I don’t want spinning tweets — site design calls for the last 2 tweets display as fixed static on the page.Let me know when the issue is revolved @martintod…thanks!
Does not work meaning you keep the old Tweets…?
Can you confirm that the old Tweets aren’t in the HTML, but hidden?
Here is the HTML source when
no_rotate='0'
— which works:<div class="feed_item feed_item_right"> <div class="feed_item_header feed_item_header_right">Latest <span class="tweets">Tweets</span> <img src="/wp-content/uploads/sites/8/2014/12/Twitter_Icon.png" alt="Twitter ICON Graphic" class="graphic_icon" /></div> <div class="feed_item_content feed_item_content_right twitter_feed_item"> <div class='rotatingtweets rotatingtweets_format_0' id='rotatingtweets_4000_scrollUp_1000_55e1392090368' data-cycle-auto-height="calc" data-cycle-fx="scrollUp" data-cycle-pause-on-hover="true" data-cycle-timeout="4000" data-cycle-speed="1000" data-cycle-easing="swing" data-cycle-slides="div.rotatingtweet" data-cycle-log="false"> <div class = 'rotatingtweet'> <p class='rtw_main'>Kudos <a href='https://twitter.com/intent/user?user_id=2864198422' title='Renew Financial' lang='en'>@RenewFinancial</a> & <a href='https://twitter.com/intent/user?user_id=1355327478' title='Cisco DeVries' lang='en'>@ciscodv</a> for the shout-out from none other than <a href='https://twitter.com/intent/user?user_id=813286' title='Barack Obama' lang='en'>@BarackObama</a> <a href='https://twitter.com/intent/user?user_id=1536791610' title='President Obama' lang='en'>@POTUS</a> <a href='https://twitter.com/intent/user?user_id=30313925' title='The White House' lang='en'>@WhiteHouse</a> on PACE! <a href='https://t.co/16nw5gkKMo' title='https://1.usa.gov/1KgilBn' class='rtw_url_link'>1.usa.gov/1KgilBn</a></p> <p class='rtw_meta'><a href="https://twitter.com/twitterapi/status/635977539291320321">About 4 days ago</a></p></div> <div class = 'rotatingtweet' style='display:none'> <p class='rtw_main'>Congratulations <a href='https://twitter.com/intent/user?user_id=2864198422' title='Renew Financial' lang='en'>@RenewFinancial</a> and <a href='https://twitter.com/intent/user?user_id=1355327478' title='Cisco DeVries' lang='en'>@ciscodv</a>! <a href='https://t.co/eU7HZbHQ1l' title='https://twitter.com/RenewFinancial/status/635877676801069056' class='rtw_url_link'>twitter.com/RenewFinancial…</a></p> <p class='rtw_meta'><a href="https://twitter.com/twitterapi/status/635878557881864192">About 4 days ago</a></p></div> </div> <div class="cover_last_dividing_line">?</div> </div> </div>
Here is the HTML source when
no_rotate='1'
— which does not work:<div class="feed_item feed_item_right"> <div class="feed_item_header feed_item_header_right">Latest <span class="tweets">Tweets</span> <img src="/wp-content/uploads/sites/8/2014/12/Twitter_Icon.png" alt="Twitter ICON Graphic" class="graphic_icon" /></div> <div class="feed_item_content feed_item_content_right twitter_feed_item"> <div class='norotatingtweets rotatingtweets_format_0' id='rotatingtweets_4000_scrollUp_1000_55d55965a955b' data-cycle-auto-height="calc" data-cycle-fx="scrollUp" data-cycle-pause-on-hover="true" data-cycle-timeout="4000" data-cycle-speed="1000" data-cycle-easing="swing" data-cycle-slides="div.rotatingtweet" data-cycle-log="false"> <div class = 'rotatingtweet'> <p class='rtw_main'><a href='https://twitter.com/intent/user?user_id=44438256' title='Matthew Herper' lang='en'>@matthewherper</a> Weirder: Reported & attributed to "sources" one minute after embargo lifted, no less! $ILMN</p> <p class='rtw_meta'><a href="https://twitter.com/twitterapi/status/633634248805777408">About 2 days ago</a></p></div> <div class = 'rotatingtweet'> <p class='rtw_main'>Ad-blocking software costs ad industry $22B+/year. Solution: acquire the top ad blocking cos! <a href='https://twitter.com/intent/user?user_id=16623443' title='Elizabeth Dwoskin' lang='en'>@lizzadwoskin</a> <a href='https://t.co/d5Y0hfFDzj' title='https://on.wsj.com/1Jdj3jL' class='rtw_url_link'>on.wsj.com/1Jdj3jL</a></p> <p class='rtw_meta'><a href="https://twitter.com/twitterapi/status/631559724572348416">Last week</a></p></div> </div> <div class="cover_last_dividing_line">?</div> </div> </div>
I cannot see any other HTML source, hidden or not, that pulls in more than 2 tweets which is what I have it set to
tweet_count='2'
. Website’s home page is https://bit.ly/1waPylPDoes the development version solve the problem?
(It’s an attempt to find out which cache is causing the problem).
- The topic ‘Tweets stopped pulling’ is closed to new replies.