Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > Social Networking Faceboog/G+ issue View modes: 
User avatar
Member
Member
guillaume.marquilly-tv5monde - 10/26/2012 5:32:26 AM
   
Social Networking Faceboog/G+ issue

Hello,

I have implemented the Facebook like button, G+ like button and tweeter tweet button in the masterpage of my website (in a floating div)

I dont have any errors with tweeter, but I encounter issues with facebook and g+. I think that it is because of iframes. These webparts cant access the parent frame to get the medatada required for the thumbnail and the post of the link.

Is there a fix or a workaround for this issue?

Thank you !

User avatar
Member
Member
guillaume.marquilly-tv5monde - 10/28/2012 11:49:42 PM
   
RE:Social Networking Faceboog/G+ issue

Pour informations additionnelles, je suis sur Kentico 6.054, et j'ai place les webparts: Facebook like box, Google +1, Tweeter.

Voici les erreurs sous Chrome lorsque que je clique sur le bouton Like et fait apparaître la fenêtre de commentaire. A noter que j'ai également des erreurs avec le bouton de G+


Unsafe JavaScript attempt to access frame with URL http://platform.twitter.com/widgets/tweet_button.html?lang=en-US&size=v&count=vertical&url=http://dev-asia.tv5monde.com/Home from frame with URL http://www.facebook.com/plugins/like.php?api_key=&locale=fr_FR&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D11%23cb%3Df142e423c%26origin%3Dhttp%253A%252F%252Fdev-asia.tv5monde.com%252Ff1da90cb58%26domain%3Ddev-asia.tv5monde.com%26relation%3Dparent.parent&href=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&node_type=link&width=60&font=arial&layout=box_count&colorscheme=light&action=like&show_faces=false&send=false&extended_social_context=false. Domains, protocols and ports must match.
static.ak.fbcdn.net/rsrc.php/v2/yA/r/-K88tGR1pvT.js:31
2
Unsafe JavaScript attempt to access frame with URL https://plusone.google.com/_/+1/fastbutton?bsv=m&abtk=AEIZW7T05TVjcl3I/S%2Bs50w%2BnKksJBWlQoXbDahDq1sNUwyWXRTPZ4TWdCvzdraqacfHLoakjWvKiqQnO8Ee/B6A1YMFOX/4MgZ4dNEBGPoOp3YgJgkFc6c%3D&size=tall&annotation=bubble&hl=en-US&origin=http%3A%2F%2Fdev-asia.tv5monde.com&url=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&ic=1&jsh=m%3B%2F_%2Fapps-static%2F_%2Fjs%2Fgapi%2F__features__%2Frt%3Dj%2Fver%3DG9D_qPqVja8.en.%2Fsv%3D1%2Fam%3D!EsUnt3hT0SSIO7F7ug%2Fd%3D1%2Frs%3DAItRSTPlJTmKruD4_l4_OXefNJaJB1uikg#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled&id=I0_1351485537362&parent=http%3A%2F%2Fdev-asia.tv5monde.com from frame with URL http://www.facebook.com/plugins/like.php?api_key=&locale=fr_FR&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D11%23cb%3Df142e423c%26origin%3Dhttp%253A%252F%252Fdev-asia.tv5monde.com%252Ff1da90cb58%26domain%3Ddev-asia.tv5monde.com%26relation%3Dparent.parent&href=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&node_type=link&width=60&font=arial&layout=box_count&colorscheme=light&action=like&show_faces=false&send=false&extended_social_context=false. Domains, protocols and ports must match.
static.ak.fbcdn.net/rsrc.php/v2/yA/r/-K88tGR1pvT.js:31
2
Unsafe JavaScript attempt to access frame with URL https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=11#channel=f1da90cb58&origin=http%3A%2F%2Fdev-asia.tv5monde.com&channel_path=%2FHome%3Ffb_xd_fragment%23xd_sig%3Df9134671%26 from frame with URL http://www.facebook.com/plugins/like.php?api_key=&locale=fr_FR&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D11%23cb%3Df142e423c%26origin%3Dhttp%253A%252F%252Fdev-asia.tv5monde.com%252Ff1da90cb58%26domain%3Ddev-asia.tv5monde.com%26relation%3Dparent.parent&href=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&node_type=link&width=60&font=arial&layout=box_count&colorscheme=light&action=like&show_faces=false&send=false&extended_social_context=false. Domains, protocols and ports must match.
static.ak.fbcdn.net/rsrc.php/v2/yA/r/-K88tGR1pvT.js:31
2
Unsafe JavaScript attempt to access frame with URL http://platform.twitter.com/widgets/tweet_button.html?lang=en-US&size=v&count=vertical&url=http://dev-asia.tv5monde.com/Home from frame with URL http://www.facebook.com/plugins/like.php?api_key=&locale=fr_FR&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D11%23cb%3Df142e423c%26origin%3Dhttp%253A%252F%252Fdev-asia.tv5monde.com%252Ff1da90cb58%26domain%3Ddev-asia.tv5monde.com%26relation%3Dparent.parent&href=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&node_type=link&width=60&font=arial&layout=box_count&colorscheme=light&action=like&show_faces=false&send=false&extended_social_context=false. Domains, protocols and ports must match.
static.ak.fbcdn.net/rsrc.php/v2/yA/r/-K88tGR1pvT.js:31
2
Unsafe JavaScript attempt to access frame with URL https://plusone.google.com/_/+1/fastbutton?bsv=m&abtk=AEIZW7T05TVjcl3I/S%2Bs50w%2BnKksJBWlQoXbDahDq1sNUwyWXRTPZ4TWdCvzdraqacfHLoakjWvKiqQnO8Ee/B6A1YMFOX/4MgZ4dNEBGPoOp3YgJgkFc6c%3D&size=tall&annotation=bubble&hl=en-US&origin=http%3A%2F%2Fdev-asia.tv5monde.com&url=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&ic=1&jsh=m%3B%2F_%2Fapps-static%2F_%2Fjs%2Fgapi%2F__features__%2Frt%3Dj%2Fver%3DG9D_qPqVja8.en.%2Fsv%3D1%2Fam%3D!EsUnt3hT0SSIO7F7ug%2Fd%3D1%2Frs%3DAItRSTPlJTmKruD4_l4_OXefNJaJB1uikg#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled&id=I0_1351485537362&parent=http%3A%2F%2Fdev-asia.tv5monde.com from frame with URL http://www.facebook.com/plugins/like.php?api_key=&locale=fr_FR&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D11%23cb%3Df142e423c%26origin%3Dhttp%253A%252F%252Fdev-asia.tv5monde.com%252Ff1da90cb58%26domain%3Ddev-asia.tv5monde.com%26relation%3Dparent.parent&href=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&node_type=link&width=60&font=arial&layout=box_count&colorscheme=light&action=like&show_faces=false&send=false&extended_social_context=false. Domains, protocols and ports must match.
static.ak.fbcdn.net/rsrc.php/v2/yA/r/-K88tGR1pvT.js:31
2
Unsafe JavaScript attempt to access frame with URL https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=11#channel=f1da90cb58&origin=http%3A%2F%2Fdev-asia.tv5monde.com&channel_path=%2FHome%3Ffb_xd_fragment%23xd_sig%3Df9134671%26 from frame with URL http://www.facebook.com/plugins/like.php?api_key=&locale=fr_FR&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D11%23cb%3Df142e423c%26origin%3Dhttp%253A%252F%252Fdev-asia.tv5monde.com%252Ff1da90cb58%26domain%3Ddev-asia.tv5monde.com%26relation%3Dparent.parent&href=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&node_type=link&width=60&font=arial&layout=box_count&colorscheme=light&action=like&show_faces=false&send=false&extended_social_context=false. Domains, protocols and ports must match.
static.ak.fbcdn.net/rsrc.php/v2/yA/r/-K88tGR1pvT.js:31

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/29/2012 2:45:11 AM
   
RE:Social Networking Faceboog/G+ issue
Hi,

could you translate your post into English, please?

Thank you!

Best regards,
Martin Danko

User avatar
Member
Member
guillaume.marquilly-tv5monde - 10/29/2012 3:39:44 AM
   
RE:Social Networking Faceboog/G+ issue
Hi Martin, sorry I forgot to write in english.

So as additionnal informations, im using Kentico 6.0 (Fix 0.54). I have put in a div container on my masterpage these 3 webparts in the following order:
- Facebook like button
- Google +1
- Tweeter (Tweet)

These are the errors that I got in Chrome when I click on the facebook button. I also have issues when trying to post on G+.

Unsafe JavaScript attempt to access frame with URL http://platform.twitter.com/widgets/tweet_button.html?lang=en-US&size=v&count=vertical&url=http://dev-asia.tv5monde.com/Home from frame with URL http://www.facebook.com/plugins/like.php?api_key=&locale=fr_FR&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D11%23cb%3Df142e423c%26origin%3Dhttp%253A%252F%252Fdev-asia.tv5monde.com%252Ff1da90cb58%26domain%3Ddev-asia.tv5monde.com%26relation%3Dparent.parent&href=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&node_type=link&width=60&font=arial&layout=box_count&colorscheme=light&action=like&show_faces=false&send=false&extended_social_context=false. Domains, protocols and ports must match.
static.ak.fbcdn.net/rsrc.php/v2/yA/r/-K88tGR1pvT.js:31
2
Unsafe JavaScript attempt to access frame with URL https://plusone.google.com/_/+1/fastbutton?bsv=m&abtk=AEIZW7T05TVjcl3I/S%2Bs50w%2BnKksJBWlQoXbDahDq1sNUwyWXRTPZ4TWdCvzdraqacfHLoakjWvKiqQnO8Ee/B6A1YMFOX/4MgZ4dNEBGPoOp3YgJgkFc6c%3D&size=tall&annotation=bubble&hl=en-US&origin=http%3A%2F%2Fdev-asia.tv5monde.com&url=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&ic=1&jsh=m%3B%2F_%2Fapps-static%2F_%2Fjs%2Fgapi%2F__features__%2Frt%3Dj%2Fver%3DG9D_qPqVja8.en.%2Fsv%3D1%2Fam%3D!EsUnt3hT0SSIO7F7ug%2Fd%3D1%2Frs%3DAItRSTPlJTmKruD4_l4_OXefNJaJB1uikg#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled&id=I0_1351485537362&parent=http%3A%2F%2Fdev-asia.tv5monde.com from frame with URL http://www.facebook.com/plugins/like.php?api_key=&locale=fr_FR&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D11%23cb%3Df142e423c%26origin%3Dhttp%253A%252F%252Fdev-asia.tv5monde.com%252Ff1da90cb58%26domain%3Ddev-asia.tv5monde.com%26relation%3Dparent.parent&href=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&node_type=link&width=60&font=arial&layout=box_count&colorscheme=light&action=like&show_faces=false&send=false&extended_social_context=false. Domains, protocols and ports must match.
static.ak.fbcdn.net/rsrc.php/v2/yA/r/-K88tGR1pvT.js:31
2
Unsafe JavaScript attempt to access frame with URL https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=11#channel=f1da90cb58&origin=http%3A%2F%2Fdev-asia.tv5monde.com&channel_path=%2FHome%3Ffb_xd_fragment%23xd_sig%3Df9134671%26 from frame with URL http://www.facebook.com/plugins/like.php?api_key=&locale=fr_FR&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D11%23cb%3Df142e423c%26origin%3Dhttp%253A%252F%252Fdev-asia.tv5monde.com%252Ff1da90cb58%26domain%3Ddev-asia.tv5monde.com%26relation%3Dparent.parent&href=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&node_type=link&width=60&font=arial&layout=box_count&colorscheme=light&action=like&show_faces=false&send=false&extended_social_context=false. Domains, protocols and ports must match.
static.ak.fbcdn.net/rsrc.php/v2/yA/r/-K88tGR1pvT.js:31
2
Unsafe JavaScript attempt to access frame with URL http://platform.twitter.com/widgets/tweet_button.html?lang=en-US&size=v&count=vertical&url=http://dev-asia.tv5monde.com/Home from frame with URL http://www.facebook.com/plugins/like.php?api_key=&locale=fr_FR&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D11%23cb%3Df142e423c%26origin%3Dhttp%253A%252F%252Fdev-asia.tv5monde.com%252Ff1da90cb58%26domain%3Ddev-asia.tv5monde.com%26relation%3Dparent.parent&href=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&node_type=link&width=60&font=arial&layout=box_count&colorscheme=light&action=like&show_faces=false&send=false&extended_social_context=false. Domains, protocols and ports must match.
static.ak.fbcdn.net/rsrc.php/v2/yA/r/-K88tGR1pvT.js:31
2
Unsafe JavaScript attempt to access frame with URL https://plusone.google.com/_/+1/fastbutton?bsv=m&abtk=AEIZW7T05TVjcl3I/S%2Bs50w%2BnKksJBWlQoXbDahDq1sNUwyWXRTPZ4TWdCvzdraqacfHLoakjWvKiqQnO8Ee/B6A1YMFOX/4MgZ4dNEBGPoOp3YgJgkFc6c%3D&size=tall&annotation=bubble&hl=en-US&origin=http%3A%2F%2Fdev-asia.tv5monde.com&url=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&ic=1&jsh=m%3B%2F_%2Fapps-static%2F_%2Fjs%2Fgapi%2F__features__%2Frt%3Dj%2Fver%3DG9D_qPqVja8.en.%2Fsv%3D1%2Fam%3D!EsUnt3hT0SSIO7F7ug%2Fd%3D1%2Frs%3DAItRSTPlJTmKruD4_l4_OXefNJaJB1uikg#_methods=onPlusOne%2C_ready%2C_close%2C_open%2C_resizeMe%2C_renderstart%2Concircled&id=I0_1351485537362&parent=http%3A%2F%2Fdev-asia.tv5monde.com from frame with URL http://www.facebook.com/plugins/like.php?api_key=&locale=fr_FR&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D11%23cb%3Df142e423c%26origin%3Dhttp%253A%252F%252Fdev-asia.tv5monde.com%252Ff1da90cb58%26domain%3Ddev-asia.tv5monde.com%26relation%3Dparent.parent&href=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&node_type=link&width=60&font=arial&layout=box_count&colorscheme=light&action=like&show_faces=false&send=false&extended_social_context=false. Domains, protocols and ports must match.
static.ak.fbcdn.net/rsrc.php/v2/yA/r/-K88tGR1pvT.js:31
2
Unsafe JavaScript attempt to access frame with URL https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=11#channel=f1da90cb58&origin=http%3A%2F%2Fdev-asia.tv5monde.com&channel_path=%2FHome%3Ffb_xd_fragment%23xd_sig%3Df9134671%26 from frame with URL http://www.facebook.com/plugins/like.php?api_key=&locale=fr_FR&sdk=joey&channel_url=http%3A%2F%2Fstatic.ak.facebook.com%2Fconnect%2Fxd_arbiter.php%3Fversion%3D11%23cb%3Df142e423c%26origin%3Dhttp%253A%252F%252Fdev-asia.tv5monde.com%252Ff1da90cb58%26domain%3Ddev-asia.tv5monde.com%26relation%3Dparent.parent&href=http%3A%2F%2Fdev-asia.tv5monde.com%2FHome&node_type=link&width=60&font=arial&layout=box_count&colorscheme=light&action=like&show_faces=false&send=false&extended_social_context=false. Domains, protocols and ports must match.
static.ak.fbcdn.net/rsrc.php/v2/yA/r/-K88tGR1pvT.js:31

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/29/2012 6:05:34 AM
   
RE:Social Networking Faceboog/G+ issue
Hi,

Unfortunately, it's an issue with the latest versions of Chrome browser, for security reasons your browser won't allow you to access javascript in an iframe from another domain (cross-domain iframe scripting). Google had set new security policy for its browser. Kentico v7 use less frames, so you will be able to upgrade in 1-2 weeks from now with new upgrade procedure.

See the following threads:

1. jQuery cross domain iframe scripting
2. Unsafe JavaScript attempt to access frame in Google Chrome

Best regards,
Martin Danko