Solved

Browsing a  Facebook Connect website over https causes Internet explorer prompt

Posted on 2011-02-26
3
347 Views
Last Modified: 2012-05-11
We are using several FB connect features on our website and all works well over http. Facebook says you can use https but we have found it faulty at best. It seems that the like button and or the Profile pic are not delivered or SSL. This causes IE to throw up a mixed content prompt which is causing problems.

The site is using ASP.NET (C#), FB Javascript API, and Graph API.

Can anyone tell me how to retrieve all facebook connect content over SSL. The site is using ASP.NET (C#), FB Javascript API, and Graph API.
0
Comment
Question by:pbt43
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 34

Accepted Solution

by:
Dave_Dietz earned 500 total points
ID: 35010539
Just from looking at this it appears that profile photos are returned as a URL to the Facebook CDN (using Akami in the background).  In theory you could parse out the URLs returned in the JSON objects to make sure all your URLs in your page are HTTPS, but this will cause additional issues since trying to browse the actual photo using HTTPS rather than HTTP ends up with a mismatched certificate name since it ends up going to an Akami site that doesn't have a certificate with the Facebook CDN url in it.

Perhaps you could pull the actual photo and other non-secure content, host it locally in a cache for some period fo time and rewrite any links to the cached version using SSL.

Dave Dietz
0
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
ID: 35913578
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question