views:

20

answers:

2

Hey all

I'm having a minor problem with Mixed-content on HTTPS served pages on our site, when we include the http://platform.twitter.com/widgets.js

Apparently Twitter doesn't have a valid certificate -- but hopefully I am mistaken.

Do any of you have a solution to the problem. I've searched here and on google for a related problem, and have found:

  1. Serve the file myself, via HTTPS (but this gives me something I'll need to maintain)
  2. Exclude the file from my pages, when serving via HTTPS (which means I lose functionality)

Suggestions ?

A: 

We have the same issue. I'm going to contact Twitter and ask that they get a valid cert. Have you had any updates to this issue?

Andy

+1  A: 

Had this same problem.

Was able to work around it by making my own javascript popup window and passing the params in manually. Doesn't depend on any external twitter stuff.

You'll have to download the tweet button image and save it locally on your own servers as well.

<a href="#" onclick="window.open('http://twitter.com/share?text=your%20tweet&amp;url=yoururl.com','Tweeter','menubar=no,width=550,height=450,toolbar=no'); return false;"><img src="/images/tweet.png"></a>

You can use something like this to encode the text of the tweet and url if needed: http://meyerweb.com/eric/tools/dencoder/

Here is a description of the params you can pass in to that URL: http://dev.twitter.com/pages/tweet_button#properties

Brian Armstrong