Page 5 of 5

Refused to autofill iframe with different origin - FB API Error

Posted: Tue Nov 18, 2014 1:03 pm
by Anil Sagar

Hi Yurii, I have now changed the link to http://appery.io/app/view/177c5783-d9... and I can now see the image.

But as you said in step 2, it appears only if I try to press the share button for the 2nd time. Can this problem be solved? No app ujser is going to press the same share button twice just to get the image.

Also, I could not understand:"Try to replace "Variable part" of your link with static part.(you should change it every time you have change this content)."

Not sure what is the variable part and how it should be replaced. Could you pls explain it slightly more?


Refused to autofill iframe with different origin - FB API Error

Posted: Wed Nov 19, 2014 12:47 am
by Yurii Orishchuk

Hi Anil,

As i understand it's FB peculiarity and page should be cached on FB service before. Thus first time there is no cache and content to display. But after it shared one time - it will be cached for all further times.. So you just can share it(certain url) first time and all further times for all users this content will be available.

What about "variable part of the url":

  1. When share this page on FB first time - this page will be cached in FB. And all further times - this page will be shown from cache.

  2. If you change any content that should be reflected on FB sharer - you should change URL to this page. (changed url - is not cached in FB and thus - it will be recached).

    for example:

  3. http://domain.com/path1/path2?variable=1

  4. http://domain.com/path1/path2?variable=2

    These two URLs are different with custom "variable" parameter values.

    Regards.