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

Refused to autofill iframe with different origin - FB API Error

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?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Refused to autofill iframe with different origin - FB API Error

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.

Return to “Issues”