New issue
Advanced search Search tips

Issue 263079 link

Starred by 4 users

Issue metadata

Status: Archived
Owner: ----
Closed: Jul 2015
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Twitter timeline widget works in major browsers except Chrome

Reported by mathmarb...@gmail.com, Jul 22 2013

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36

Steps to reproduce the problem:
1. create a page to display a twitter timeline.  Mine is here:
<a class="twitter-timeline" href="https://twitter.com/mathmarbles" data-widget-id="359221581723078657">Tweets by @mathmarbles</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>

What is the expected behavior?
I drop the above lines of code into my project and it works in FF, Opera, IE and Safari but not in Chrome.

Failed to load resource
https://platform.twitter.com/widgets.js

What went wrong?
Failed to load resource
https://platform.twitter.com/widgets.js

Did this work before? N/A 

Chrome version: 28.0.1500.72  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 11.8 r800

A bug report has also been filed with twitter.com.

https://dev.twitter.com/issues/unreviewed
>>>
https://dev.twitter.com/issues/1189
>>>
An unmoderated update to the above report is processing.
The update title contains "update to  issue #1189 " when it appears on the list.
 
Labels: Needs-Feedback
mathmarbles@, Could you please provide a sample file to reproduce this issue? Tried with attached sample HTML file, but unable to replicate the exact issue.

Thanks in advance.
twitter_timeline.html
527 bytes View Download

Comment 2 by Deleted ...@, Jul 30 2013

I have this problem too with version 28.0.1500.71 on Linux Mint 12.
Last week it was working ok, but now it does not show neither the facebook, google+ or twitter widgets and log in console :
Failed to load resource https://ssl.google-analytics.com/__utm.gif?utmwv=5.4.3&utms=3&utmn=78470549…referral)%7Cutmcmd%3Dreferral%7Cutmcct%3D%2Fadmin%2Fmoderate%2F%3B&utmu=q~
Failed to load resource https://apis.google.com/js/plusone.js
Failed to load resource https://platform.twitter.com/widgets.js

Comment 3 by rwroze...@gmail.com, Aug 27 2013

Use the URL https://dev.twitter.com/docs/embedded-timelines to see the problem.  I have tested in Firefox and IE and the tweets are displayed, but not in Chrome or Chromium.

Comment 4 by rwroze...@gmail.com, Aug 27 2013

Follow on to using URL https://dev.twitter.com/docs/embedded-timelines to see the problem.  When I use an Incongnito Browser, the widgets.js loads as expected.

It appears that normal mode and incognito mode send out fundamentally different requests:

NORMAL CHROMIUM BROWSER - NO RESPONSE
Request URL:https://platform.twitter.com/widgets.js
Request Headersview source
Accept:*/*
Cache-Control:max-age=0
Referer:https://dev.twitter.com/docs/embedded-timelines
User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36

INCOGNITO CHROMIUM BROWSER - GOT RESPONSE
Request URL:https://platform.twitter.com/widgets.js
Request Method:GET
Status Code:200 OK
Request Headersview source
Accept:*/*
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-GB,en-US;q=0.8,en;q=0.6
Connection:keep-alive
DNT:1
Host:platform.twitter.com
Referer:https://dev.twitter.com/docs/embedded-timelines
User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/28.0.1500.71 Chrome/28.0.1500.71 Safari/537.36

Comment 5 by rwroze...@gmail.com, Aug 28 2013

So after a little thought ... Here is what I believe is happening.  Twitter is storing the widget.js as a compressed file on their website.  The Normal Chromium browser is not sending the "Accept-Encoding" flag causing the twitter site to not be able to provide a file.

Comment 6 by Deleted ...@, Jan 30 2014

This not only happens with twitter.

Failed to load resource http://connect.facebook.net/en_US/all.js#xfbml=1
Failed to load resource http://apis.google.com/js/plusone.js?callback=gpcb
Failed to load resource https://apis.google.com/js/plusone.js

it also happens when connecting to other social media sites... INCLUDING google +

Comment 7 by tkent@chromium.org, Jul 15 2015

Labels: -Cr-Content-JavaScript Cr-Internals-Network
Status: Archived
Closing this bug due to old age. If it's still occurring in the latest version of Chrome, please file a new bug. Thanks!

Sign in to add a comment