Page 2 of 5

Refused to autofill iframe with different origin - FB API Error

Posted: Mon Jul 28, 2014 4:02 pm
by Anil Sagar

No support even after waiting for 3 days...


Refused to autofill iframe with different origin - FB API Error

Posted: Mon Jul 28, 2014 5:09 pm
by obullei

Hello!

We are sorry for delay.
I will try to get you a more in-depth update as soon as possible.
Thanks for your patience while we are working on this issue, and sorry for any inconvenience this is causing.


Refused to autofill iframe with different origin - FB API Error

Posted: Mon Jul 28, 2014 6:09 pm
by obullei

Hello!

Please try to use iframe as described here:
http://gyazo.com/91b2ce7fd1a8f86d9e51...
Please also take a look at this post:
https://getsatisfaction.com/apperyio/...


Refused to autofill iframe with different origin - FB API Error

Posted: Tue Jul 29, 2014 6:45 am
by Anil Sagar

Thanks Arina. I am able to use iframe. A scroll was appearing on the iframe, although the code had iframe attribute scrolling="0". I had to change height:45px; width:200px; to set it right.


Refused to autofill iframe with different origin - FB API Error

Posted: Tue Jul 29, 2014 8:24 am
by Anil Sagar

It works sometimes. Sometimes it doesn't work and gives the following error:

Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "http://appery.io" from accessing a frame with origin "https://www.facebook.com". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match.


Refused to autofill iframe with different origin - FB API Error

Posted: Tue Jul 29, 2014 9:06 pm
by Kateryna Grynko

Hi Anil,

Could you please post a public app link and steps to reproduce?
Do you reproduce it in final native app or in browser test?


Refused to autofill iframe with different origin - FB API Error

Posted: Wed Jul 30, 2014 3:26 am
by Anil Sagar

Hi Katya, currently it's working fine with no errors. Will let you know if it comes back.

I was reproducing it in browser test.

Thanks


Refused to autofill iframe with different origin - FB API Error

Posted: Wed Jul 30, 2014 7:08 pm
by Anil Sagar

Hi Katya, this problem is now coming in read service. Query service does not give this problem.

You can access my app on: http://appery.io/app/mobile-frame?src...

Way to reproduce the error:

  1. Once page 1 loads, click on any of the 3 offers given under heading Offers

  2. Page 2 is supposed to appear as below (below output is seen using query service)

    Image

    But appears as below on using a read service

    Image

    It also shows the following error in the browser console

    Uncaught SecurityError: Failed to read the 'contentDocument' property from 'HTMLIFrameElement': Blocked a frame with origin "http://appery.io" from accessing a frame with origin "https://www.facebook.com". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match.


Refused to autofill iframe with different origin - FB API Error

Posted: Thu Jul 31, 2014 3:51 pm
by Anil Sagar

Can somebody help with this pls?


Refused to autofill iframe with different origin - FB API Error

Posted: Thu Jul 31, 2014 6:31 pm
by Kateryna Grynko

Hi Anil,

Please remove frame, so you can test Facebook login.