Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Suddenly my blocks (on multiple sites hosted on different servers) are not showing the twitter feed for the widget I made. Instead it is only showing "Feeds by @twitterapi".
I have tried updating the module, but unfortunately that didn't work.
Comments
Comment #1
abart83 CreditAttribution: abart83 commentedi am also facing the same issue, twitter block is not working anymore!
Comment #2
tuyre CreditAttribution: tuyre commentedI'm also getting this intermittently. Twitter Block works for a while on several sites, and then ceases to work and displays the aforementioned "Tweets by @twitterapi". This happens with different sites, with different themes, and those sites have a variety of differing modules, so can't see it being a theme/module conflict.
As a workaround, I have removed the twitter_block block i created, and created a new block of my own with the following code:-
STEP 1) Go to https://twitter.com/settings/widgets
Click Edit to get to your widget and grab the HTML in there, and paste into a newly created block, also enabling FULL HTML in block settings.
I have altered my code as per instructions found on https://dev.twitter.com/docs/embedded-timelines :-
This one give me transparent background, no header, no footer, no scrollbar, so I can use the block's title instead. Also gives me max tweets=2. Works well in a footer block at this size.
Hope this helps people until the widget is fully operational again.
Comment #3
tomogden CreditAttribution: tomogden commentedI get "Tweets by @twitterapi" too. Here's how it works on my system:
The Twitter block then loses all its data and displays only the twitterapi link mentioned above.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedI'm also experiencing the same problem but only on Firefox in Windows. It seems to work just fine in Chrome, Safari and IE.
I've tested in Windows 7, Mac, Linux and iOS.
In my case it does not matter if I log in as admin or not, it consistently displays the "Tweets by @twitterapi" in Firefox in Windows.
Comment #5
tomogden CreditAttribution: tomogden commented@frankie4260, what you're describing sounds like your module is not connecting with your Twitter account. You might want to check your Twitter Block configuration. The browser and device are entirely irrelevant for this behavior.
Comment #6
Anonymous (not verified) CreditAttribution: Anonymous commentedThanks @tomogden, perhaps I am not understanding your comment or I was not clear. My site is displaying the block with the tweets just fine in all browsers and devices that I have tested it, except for Firefox in Windows 7. I tried on 2 different PCs and both of them show "Tweets by @twitterapi" in FF but in the same PCs it works just fine if I use Chrome or IE to browse the website.
Comment #7
tomogden CreditAttribution: tomogden commentedI see, and apologies @frankie4260. This would seem to indicate a JavaScript issue with Firefox. What version of Firefox and Windows are you using there? Would a Firefox update help?
Comment #8
Anonymous (not verified) CreditAttribution: Anonymous commentedI'm on a Windows 7 pc with Firefox version 26.0 (the latest version at the moment). I'll look into JavaScript. Thanks @tomodgen.
Comment #9
serg2 CreditAttribution: serg2 commentedThis does happen on my sites intermittently. I am on chrome & firefox on windows vista and chrome & safari on Mac OS X. Normally refreshing the cache solves it but I do not know the cause.
The patch at https://drupal.org/node/2128033 would change @twitterapi to the desired username which would be a nice improvement for when this does occur.
I just did a little more routing around and found a post on serverfault which indicated that it may be a problem with twitter: http://serverfault.com/questions/577005/server-unable-to-find-route-to-a... .
As my problem was today, and the post was about today it seems to indicate that this issue occurs when Twitter cannot be found by the server.
Comment #10
jstamper CreditAttribution: jstamper commentedI had this issue as well and it was being cause by Ghostery. Just an FYI for those who may be running into this issue because of that.
Comment #11
haaid CreditAttribution: haaid commentedI can confirm that this error occurs. I'm working on OSX Mavericks and this works fine in Safari and Chrome but not in Firefox. I assume it is related to the browser. Has anyone gotten this to work yet?
Comment #12
Devin Carlson CreditAttribution: Devin Carlson commentedWith #2266961: loading of the twitter js widget causes the site to slow down, the locally cached JavaScript should prevent a variety of issues related to browser settings and extensions blocking the request to Twitter or preventing it from loading.
Comment #14
dooug CreditAttribution: dooug commented