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

abart83’s picture

i am also facing the same issue, twitter block is not working anymore!

tuyre’s picture

I'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.

<a class="twitter-timeline" href="https://twitter.com/MyTwitterUserHere" data-chrome="noheader nofooter transparent noscrollbar" data-widget-id="***MYWIDGETID HERE***" data-tweet-limit="2">Tweets by @MyTwitterUserHere</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

Hope this helps people until the widget is fully operational again.

tomogden’s picture

I get "Tweets by @twitterapi" too. Here's how it works on my system:

  1. Place the Twitter block in a paginated view, sorted with the Twitter block appearing first.
  2. Now click any of the pager links to move to a different page of the view.
  3. Return to page 1 of the view to see the Twitter block. The block will be empty, except for the

The Twitter block then loses all its data and displays only the twitterapi link mentioned above.

Anonymous’s picture

I'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.

tomogden’s picture

@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.

Anonymous’s picture

Thanks @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.

tomogden’s picture

I 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?

Anonymous’s picture

I'm on a Windows 7 pc with Firefox version 26.0 (the latest version at the moment). I'll look into JavaScript. Thanks @tomodgen.

serg2’s picture

Issue summary: View changes

This 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.

jstamper’s picture

I 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.

haaid’s picture

I 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?

Devin Carlson’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
Category: Bug report » Support request
Priority: Critical » Normal
Status: Active » Fixed

With #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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

dooug’s picture

Issue summary: View changes