Mobile users see wrong image and are directed to wrong page on Facebook.

  • Profile Image
    lnajimy
    Asked on June 29, 2013 at 08:19 AM

    Mobile Users are see the wrong image in the post on FB and are directed to my sites home page when using Facebook App.

    I followed these instructions:

    http://www.jotform.com/help/22-Adding-Form-to-Facebook

    CODE:

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotform.us/form/31784237051149" frameborder="0" style="width:100%; height:3091px; border:none;" scrolling="no"></iframe>

    <script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

  • Profile Image
    EltonCris
    Answered on June 29, 2013 at 08:31 AM

    @lnajimy

    Unfortunately that's not an issue with the form, that's an issue on your FB App settings as far as I know. Instead of using that FB URL for your users, you can use the Static HTML Iframe URL provided on your admin page. There's an available short URL on the upper right side of your Static HTML app when you are on edit mode. That would work specially for mobile views.

    Hope this helps. Thanks!