Share facebook button, how to customize?

2

I want to make a share button to put on a website. The button will basically share a url with data I already have stored in my variables.

When reading the documentation of the button share of facebook, I saw that the parameters are now caught in the statement of the OpenGraph meta tags, which is a problem, since my meta tags on the page where the button is are already defined.

Not another way to customize the button by passing the parameters in a less general way?

I saw that these parameters were easily passed in the following way:

FB.ui( { link:'seulink.com.br', title:'titulo do seu comaprtilhamento', description: descricao do seu comaprtilhamento', image: 'https://www.yourrepository.com.br/imagem.png' }, function(response) { } );

    
asked by anonymous 17.05.2018 / 20:14

0 answers