FB.ui 'share' does not process parameters

Question:

Good afternoon, I'm using facebook sdk, specifically the "share" method

 FB.ui(
        {
            method: 'share',
            href: 'url to site',     
            title: 'dddd',  
            picture: 'urltoimage',
            caption: 'w3e24324',
            description: 'descrisretetption',
        },
        function(response){
            // your code to manage the response
        });

of course, instead of "fish" in the values ​​of the parameters there are real data. As a result, a popup appears, but nothing (neither a description, nor a picture) clings except the domain name (not even a specific page, which is indicated in the "href"). What's wrong?

Answer:

Found a solution! Changed the version (version) from 2.9 to 2.7

 FB.init({
        appId      : '************',
        status     : true,
        version    : 'v2.7'
    });
Scroll to Top