Something is wrong with "Embed this Tweet"


#1

I am using “Embed this Tweet” line on the detailed tweet page.
( I am mentioning about this page, for exsample. https://twitter.com/mikecat_mixc/status/234887553982009344 )
I generated some HTML code with this function, pasted it in a HTML document, and checked it in my web browser.
Then, I noticed that the tweet is shown in plain text, not decorated like displayed in bottom of the “Embed this Tweet” dialog.
I checked the HTML code, and I found that the src property in the script tag is wrong.
It was “//platform.twitter.com/widgets.js”, and I think “http://platform.twitter.com/widgets.js” is right.
Actually, when I modified the code like this, it worked correctly.
Please check it.

( I am Japanese and I am sorry if my English is strange. )


#2

That URL format won’t become “active” when viewing a web page on your own machine, without the mediation of a web server. Usually if you don’t see this working, it’s because you’re not viewing from a web server.


#3

Thanks! It worked!

But, I wonder why they made this function with such a specification.
I don’t think it is good to make a limitation about where it works.


#4

#5