Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: FaceBook Bug - Site Error

  1. #1
    ssgumby is offline Senior Member
    Join Date
    Feb 2009
    Posts
    683

    Default FaceBook Bug - Site Error

    Just a FYI - if you have facebook scripts on your site (ie. a like button, etc) your IE shoppers are probably getting a security warning. I just found this issue on my site and when I googled it I see lots and lots of people having this issue today.

    Basically you get a security waring saying IE attempted to download a file, when i check the file is from facebook and is login_status.php with nothing in it but "Invalid Application ID"

  2. #2
    DotNetDevelopments is offline Senior Member
    Join Date
    Jul 2008
    Location
    Harlow / Essex / UK
    Posts
    619

    Default

    We have a facebook page widget on our template and it caused us countless issues with SSL.

    however this is how we got around it!

    C#/VB.NET Code:
    <script type="text/javascript">
                                       if (
    "http:" == document.location.protocol) {
                                           
    document.write("<iframe src=\"http://www.facebook.com/plugins/likebox.php?id=80315693230&amp;width=190&amp;connections=3&amp;stream=false&amp;header=false&amp;height=189\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:190px; height:189px;\" allowTransparency=\"true\"><" "/iframe>");
                                       } else {
    document.write("<iframe src=\"https://www.facebook.com/plugins/likebox.php?id=80315693230&amp;width=190&amp;connections=3&amp;stream=false&amp;header=false&amp;height=189\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:190px; height:189px;\" allowTransparency=\"true\"><" "/iframe>");
                                       }
    </script> 
    very simple, yet I spent ages trying to get it to work, I might just be a bit slow.

    I guess a key part to take note is the URL is the same just https:// over http://. If you have the like button dynamically coded into your pages, you could just change the http part inside the XML file surely?

    Anyway hope this helps.
    =====
    Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
    Execution Mode: 64 Bit
    Dot Net Developments - E-commerce By Experience

  3. #3
    ssgumby is offline Senior Member
    Join Date
    Feb 2009
    Posts
    683

    Default

    This wasnt an ssl issue, it worked fine for the last few months. FB apparently changed something in their integration yesterday that broke things with IE8. Seems better today.

  4. #4
    DotNetDevelopments is offline Senior Member
    Join Date
    Jul 2008
    Location
    Harlow / Essex / UK
    Posts
    619

    Default

    Ah righto, thanks for the heads up. We didn't run into any issues so it might of been just that area that was being updated.
    =====
    Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
    Execution Mode: 64 Bit
    Dot Net Developments - E-commerce By Experience