Share Content on Facebook

Asked

Viewed 150 times

2

To share a piece of content on Facebook I’m using the Facebook SDK API.

These are articles on the site that will now have this sharing feature. I am doing so:

<meta property="og:url"           content="{!! URL::to('/social/facebook-page/'.$resenha->id) !!}" />
<meta property="og:type"          content="article" />
<meta property="og:site_name"     content="Teste Eempresa" />
<meta property="og:title"         content="{!! $resenha->concessionaria !!}" />
<meta property="og:description"   content="Vejam o que estão falando da concessionária" />
<meta property="og:image"         content="{!! URL::to('images/social/facebook/'.$resenha->foto_facebook) !!}" />

But I can’t change the following:

inserir a descrição da imagem aqui

Look what’s underlinized in red.

I believed it was the property og:site_name. But even changing, it doesn’t change anything.

As it is an article also want to put the name of the author.

Does anyone know how I change it ?

  • I found out what it is

1 answer

2


Just add this tag:

<meta property="article:author" content="https://www.facebook.com/seu-perfil-facebook" />

But the value of content must be a Facebook profile.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.