Topic: OpenGraph protocol not working properly on facebook

Hello,

I tried to use the getPostTitle method to define the og:title metadata as shown below:

But Facebook is not loading the value properly.
Any clue about what is happening?

barichello's Website

Re: OpenGraph protocol not working properly on facebook

nice code

3 (edited by barichello 2015-08-15 10:45:42)

Re: OpenGraph protocol not working properly on facebook

But this way, Facebook will show the title of the website, I want it to show the title of the particular post. Am I right?

barichello's Website

4 2015-08-15 11:34:07

Re: OpenGraph protocol not working properly on facebook

@barichello
in this way will normally show the title on facebook!

Here you will find templates for monstra and morfy xxwebplus
Proposals to create a new template for monstra and morfy tell me your proposals xxwebplus

xxwebplus's Website

Re: OpenGraph protocol not working properly on facebook

Still not working...

You can see the post in my facebook page: https://www.facebook.com/leo.barichello
It is the first and probably will be for a couple of days.

And I am using this as metadata:





barichello's Website

Re: OpenGraph protocol not working properly on facebook

for me it works!


  
    
    
    
    
    <?php echo Site::name() . ' - ' . Site::title(); ?>
    
    
    
    
    
    
    
    
    
    
    
    
Here you will find templates for monstra and morfy xxwebplus
Proposals to create a new template for monstra and morfy tell me your proposals xxwebplus

xxwebplus's Website