Martin Tod
Forum Replies Created
-
Yes! Short tweets should still work OK. It’s only long ones that won’t work.
Martin
That’s this problem here.
Twitter has changed their format for long tweets and is no longer sending the image data through unfortunately.
There’s a new Tweet JSON format coming which should fix this. Twitter’s announcement is here – although there doesn’t appear to be a time for this yet.
I don’t think I managed to see it before you took it down. Sorry about that.
I use W3 Total Cache and don’t have the same problem. You have a lot of plug-ins adding CSS to the page. What happens if you reload the page? And/or temporarily switch off W3 Total Cache and look at the published page.
If you look at the page inspector (
[CTRL]+[SHIFT]+I), which bit of CSS is making the font so big?- This reply was modified 9 years, 6 months ago by Martin Tod.
What changes did you make? What was the CSS you put in
rotatingtweets.css?This is the ‘standard’ CSS for Rotating Tweets and not your bespoke CSS.
I’ve just had a look for http://www.kohinoorrice.com/wp-content/uploads/rotatingtweets.css and it doesn’t seem to be there.
Has it uploaded successfully?
Aha! There’s a new Tweet JSON format coming which should fix this. Twitter’s announcement is here – although there doesn’t appear to be a time for this yet.
Currently Rotating Tweets is displaying everything that Twitter is sending through – e.g.
( [created_at] => Fri Oct 21 14:13:14 +0000 2016 [id] => 789469596499664897 [id_str] => 789469596499664897 [text] => We're going places (and learning stuff)! Nate & Gabe are out in Tucson at the Seven Challenges IOP advanced therapi… https://t.co/cK31qTqoAk [truncated] => 1 [entities] => Array ( [hashtags] => Array ( ) [symbols] => Array ( ) [user_mentions] => Array ( ) [urls] => Array ( [0] => Array ( [url] => https://t.co/cK31qTqoAk [expanded_url] => https://twitter.com/i/web/status/789469596499664897 [display_url] => twitter.com/i/web/status/7… [indices] => Array ( [0] => 121 [1] => 144 ) ) ) ) [source] => <a href="http://twitter.com/#!/download/ipad" rel="nofollow">Twitter for iPad</a> [in_reply_to_status_id] => [in_reply_to_status_id_str] => [in_reply_to_user_id] => [in_reply_to_user_id_str] => [in_reply_to_screen_name] => [user] => Array ( [id] => 1708069177 [id_str] => 1708069177 [name] => Potomac Pathways [screen_name] => PotomacPathways [location] => Cabin John, MD [description] => Substance abuse and behavioral Healthcare for teens and young adults [url] => https://t.co/SvzJ9mB148 [entities] => Array ( [url] => Array ( [urls] => Array ( [0] => Array ( [url] => https://t.co/SvzJ9mB148 [expanded_url] => http://www.potomacpathways.org [display_url] => potomacpathways.org [indices] => Array ( [0] => 0 [1] => 23 ) ) ) ) [description] => Array ( [urls] => Array ( ) ) ) [protected] => [followers_count] => 30 [friends_count] => 24 [listed_count] => 3 [created_at] => Wed Aug 28 19:12:38 +0000 2013 [favourites_count] => 4 [utc_offset] => [time_zone] => [geo_enabled] => 1 [verified] => [statuses_count] => 65 [lang] => en [contributors_enabled] => [is_translator] => [is_translation_enabled] => [profile_background_color] => 000000 [profile_background_image_url] => http://abs.twimg.com/images/themes/theme1/bg.png [profile_background_image_url_https] => https://abs.twimg.com/images/themes/theme1/bg.png [profile_background_tile] => [profile_image_url] => http://pbs.twimg.com/profile_images/690935619556655104/vxFmril__normal.jpg [profile_image_url_https] => https://pbs.twimg.com/profile_images/690935619556655104/vxFmril__normal.jpg [profile_banner_url] => https://pbs.twimg.com/profile_banners/1708069177/1453567200 [profile_link_color] => 4A913C [profile_sidebar_border_color] => 000000 [profile_sidebar_fill_color] => 000000 [profile_text_color] => 000000 [profile_use_background_image] => [has_extended_profile] => [default_profile] => [default_profile_image] => [following] => [follow_request_sent] => [notifications] => [translator_type] => none ) [geo] => [coordinates] => [place] => [contributors] => [is_quote_status] => [retweet_count] => 0 [favorite_count] => 0 [favorited] => [retweeted] => [possibly_sensitive] => [lang] => en )As you might imagine, it will be a fairly immediate priority to implement the new extended Tweet format as soon as it is switched on!
This is a more interesting problem than I expected. The Twitter API is sending back a new Tweet format! The
truncatedvalue is a new one on me!I need to investigate some more…
( [created_at] => Fri Oct 21 14:13:14 +0000 2016 [id] => 789469596499664897 [id_str] => 789469596499664897 [text] => We're going places (and learning stuff)! Nate & Gabe are out in Tucson at the Seven Challenges IOP advanced therapi… https://t.co/cK31qTqoAk [truncated] => 1 [entities] => Array ( [hashtags] => Array ( ) [symbols] => Array ( ) [user_mentions] => Array ( ) [urls] => Array ( [0] => Array ( [url] => https://t.co/cK31qTqoAk [expanded_url] => https://twitter.com/i/web/status/789469596499664897 [display_url] => twitter.com/i/web/status/7… [indices] => Array ( [0] => 121 [1] => 144 ) ) ) ) [source] => <a href="http://twitter.com/#!/download/ipad" rel="nofollow">Twitter for iPad</a> [in_reply_to_status_id] => [in_reply_to_status_id_str] => [in_reply_to_user_id] => [in_reply_to_user_id_str] => [in_reply_to_screen_name] => [user] => Array ( [id] => 1708069177 [id_str] => 1708069177 [name] => Potomac Pathways [screen_name] => PotomacPathways [location] => Cabin John, MD [description] => Substance abuse and behavioral Healthcare for teens and young adults [url] => https://t.co/SvzJ9mB148 [entities] => Array ( [url] => Array ( [urls] => Array ( [0] => Array ( [url] => https://t.co/SvzJ9mB148 [expanded_url] => http://www.potomacpathways.org [display_url] => potomacpathways.org [indices] => Array ( [0] => 0 [1] => 23 ) ) ) ) [description] => Array ( [urls] => Array ( ) ) ) [protected] => [followers_count] => 30 [friends_count] => 24 [listed_count] => 3 [created_at] => Wed Aug 28 19:12:38 +0000 2013 [favourites_count] => 4 [utc_offset] => [time_zone] => [geo_enabled] => 1 [verified] => [statuses_count] => 65 [lang] => en [contributors_enabled] => [is_translator] => [is_translation_enabled] => [profile_background_color] => 000000 [profile_background_image_url] => http://abs.twimg.com/images/themes/theme1/bg.png [profile_background_image_url_https] => https://abs.twimg.com/images/themes/theme1/bg.png [profile_background_tile] => [profile_image_url] => http://pbs.twimg.com/profile_images/690935619556655104/vxFmril__normal.jpg [profile_image_url_https] => https://pbs.twimg.com/profile_images/690935619556655104/vxFmril__normal.jpg [profile_banner_url] => https://pbs.twimg.com/profile_banners/1708069177/1453567200 [profile_link_color] => 4A913C [profile_sidebar_border_color] => 000000 [profile_sidebar_fill_color] => 000000 [profile_text_color] => 000000 [profile_use_background_image] => [has_extended_profile] => [default_profile] => [default_profile_image] => [following] => [follow_request_sent] => [notifications] => [translator_type] => none ) [geo] => [coordinates] => [place] => [contributors] => [is_quote_status] => [retweet_count] => 0 [favorite_count] => 0 [favorited] => [retweeted] => [possibly_sensitive] => [lang] => en )You’ve found a new Twitter feature!
It turns out that this issue is a consequence of the new longer Tweet that’s being introduced.
There’s a new Tweet JSON format coming which should fix the problem and, with a bit of coding, allow Rotating Tweets to show the longer Tweets.
Currently the information isn’t being sent through by Twitter: the Tweets are currently being truncated by Twitter – not by Rotating Tweets.
Twitter’s announcement is here – although they don’t appear to have announced the time when this will be implemented yet.
- This reply was modified 9 years, 6 months ago by Martin Tod.
Seth,
Many thanks for highlighting this. What’s your shortcode? Have you set a
tweet_lengthvariable? What happens if you remove it?Martin
Forum: Plugins
In reply to: [WP DoNotTrack] Twitter Button (via Rotating Tweets Plugin)Cool. It’s live now.
Will having the Twitter code in there mean it clashes with your plug-in at some point?
Is there any other flag or tag that it should be looking out for? 🙂
This may be something to do with caching.
When you look at the source code for your page, do you see a line like:
<link rel='stylesheet' id='rotatingtweets-yourstyle-1' href='http://<yoursite>/wp-content/uploads/style.css?ver=426a4db8e3dc2cf957d390264d4c70c4' type='text/css' media='all' />somewhere?
‘Do Not Track’ is now respected by the ‘current version’.
Forum: Plugins
In reply to: [WP DoNotTrack] Twitter Button (via Rotating Tweets Plugin)After some checking with other browsers, it now reads:
if(navigator.doNotTrack != 'yes' && navigator.doNotTrack != 1 && window.doNotTrack != 1 && navigator.msDoNotTrack != 1) { // The Twitter code };After some checking with other browsers, it now reads:
if(navigator.doNotTrack != 'yes' && navigator.doNotTrack != 1 && window.doNotTrack != 1 && navigator.msDoNotTrack != 1) { // The Twitter code };