Anil Sagar
Posts: 0
Joined: Fri Jul 04, 2014 1:13 pm

Refused to autofill iframe with different origin - FB API Error

No support even after waiting for 3 days...

obullei
Posts: 0
Joined: Thu Jun 05, 2014 12:17 am

Refused to autofill iframe with different origin - FB API Error

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.

obullei
Posts: 0
Joined: Thu Jun 05, 2014 12:17 am

Refused to autofill iframe with different origin - FB API Error

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/...

Anil Sagar
Posts: 0
Joined: Fri Jul 04, 2014 1:13 pm

Refused to autofill iframe with different origin - FB API Error

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.

Anil Sagar
Posts: 0
Joined: Fri Jul 04, 2014 1:13 pm

Refused to autofill iframe with different origin - FB API Error

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.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Refused to autofill iframe with different origin - FB API Error

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?

Anil Sagar
Posts: 0
Joined: Fri Jul 04, 2014 1:13 pm

Refused to autofill iframe with different origin - FB API Error

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

Anil Sagar
Posts: 0
Joined: Fri Jul 04, 2014 1:13 pm

Refused to autofill iframe with different origin - FB API Error

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.

Anil Sagar
Posts: 0
Joined: Fri Jul 04, 2014 1:13 pm

Refused to autofill iframe with different origin - FB API Error

Can somebody help with this pls?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Refused to autofill iframe with different origin - FB API Error

Hi Anil,

Please remove frame, so you can test Facebook login.

Return to “Issues”