Surveillance ofming in social media



  • I was wondering if the user shared the tape or not.

    There are references by which we share the tape:

    ВК - http://vk.com/share.php?url=сайт
    ФБ - https://www.facebook.com/sharer/sharer.php?u= сайт
    ОД - http://www.odnoklassniki.ru/dk?st.cmd=addShare&st._surl= сайт
    

    Which I haven't done very well, but nothing works. I did it like post. https://ru.stackoverflow.com/questions/164398/%D0%9A%D0%B0%D0%BA-%D1%83%D0%B7%D0%BD%D0%B0%D1%82%D1%8C-%D1%80%D0%B5%D0%B7%D1%83%D0%BB%D1%8C%D1%82%D0%B0%D1%82%D0%B0-%D0%BA%D0%BD%D0%BE%D0%BF%D0%BA%D0%B8-%D0%BF%D0%BE%D0%B4%D0%B5%D0%BB%D0%B8%D1%82%D1%81%D1%8F-%D0%92%D0%9A-%D0%A4%D0%91-%D0%A2%D0%92 But it didn't. The FB on the Click has a function:

        $('#fblink').on('click',function(){
                FB.ui({
            method: 'share',
            link: 'сайт',
    
    }, function(response){alert(response)});
    });
    

    But he says that app_Id is devoididable, even though I point it as shown in the documents fold:

    window.fbAsyncInit = function() {
    FB.init({
    appId : 'code',
    xfbml : true,
    version : 'v2.5'
    });
    };

    (function(d, s, id){
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/sdk.js";
    fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));



  • You have to register your app for starters, and you have to get Eid the app. Don't forget the documentation is an example.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2