public static function createOpenGraphTagsForPost($post) {
       return [
            'og:title'               => $post->title,
            'og:type'                => 'article',
            'og:url'                 => $post->canonical_url,
            'og:image'               => $post->urlImage,
            'og:description'         => $post->meta_description,
            'og:site_name'           => Config::get('lasallecmsfrontend.og_site_name'),
            'article:published_time' => $post->created_at,
            'article:modified_time'  => $post->updated_at,
        ];
    }
public static function createOpenGraphTagsForPost($post) {
       return [
            'og:title'               => $post->title,
            'og:type'                => 'article',
            'og:url'                 => $post->canonical_url,
            'og:image'               => $post->urlImage,
            'og:description'         => $post->meta_description,
            'og:site_name'           => Config::get('lasallecmsfrontend.og_site_name'),
            'article:published_time' => $post->created_at,
            'article:modified_time'  => $post->updated_at,
        ];
    }
public static function createOpenGraphTagsForPost ( $ post ) { return [ 'og:title' => $ post -> title , 'og:type' => 'article' , 'og:url' => $ post -> canonical_url , 'og:image' => $ post -> urlImage , 'og:description' => $ post -> meta_description , 'og:site_name' => Config :: get ( 'lasallecmsfrontend.og_site_name' ) , 'article:published_time' => $ post -> created_at , 'article:modified_time' => $ post -> updated_at , ] ; }
Create an array of OG tags and their values for a post.

https://developers.facebook.com/docs/sharing/webmasters

@param  object   $post       The post object.
@return array
Create an array of OG tags and their values for a post .