Facebook-share popup not configurable for Iframe application built with DotNet libraries

0 vote down star

I have an .aspx page and I am creating an iframe application for Facebook and I want to implement the sharing features on my page using a facebook user who can share the contents of my page on his wall. I use the following code to achieve this functionality

function fbs_click() 
{
       u="http://apps.facebook.com/shareddatas/default.aspx/";

       t=document.title; 
       alert(u);
       window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');
       return false;
}

->

**

, javascript- fbs_click(), u = "http://www" DOT "google" DOT "com", google Google , u = "MYaPP @FACEBOOK", "DOT" facebook "DOT" com share.php , - ,

share.php iframe-, , , , .

+3

Source: https://habr.com/ru/post/1716671/


All Articles