Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [open-graph]

The tag has no usage guidance.

0
votes
1answer
10 views

Make og:title propercase Magento 2

Issue My client has added their product titles in UPPERCASE, and as such the og:title property is also in uppercase. For example: 'MY T SHIRT' Current Code <meta property="og:title" content="<...
0
votes
1answer
56 views

Open Graph Protocol Image Too Small Magento 2

I notice the default code for the image open graph protocol generates the smallest image available. <meta property="og:image" content="<?= $block->escapeUrl($block->getImage($block->...
0
votes
0answers
74 views

Editing Facebook OG: Meta Tags

I need to edit the Facebook OG meta tags in my Magento 2.2.5 based website because when I look at a product detail page it seems to be missing the "product:brand" meta tag and also a "product:...
0
votes
0answers
97 views

Open Graph and Twitter Cards For Non-Product Pages

I am trying to add open graph & twitter cards on a website created in Magento. I am currently using Welt Pixel a plugin that generates the markups but it only does it for products. Do you know how ...
0
votes
1answer
712 views

Magento 2 : How to add custom meta tag in head

How to add custom meta tag in head tag of page-layout-2columns-left custom meta tag l want to add is <meta property="og:image" itemprop="image" content="url"/> P.S. I want this url to be ...
1
vote
1answer
209 views

Image for Open Graph protocol

I'm getting image for Open Graph protocol with following code: <meta property="og:image" content="<?php echo $block->escapeUrl($block->getImage($block->getProduct(), '...
0
votes
1answer
1k views

How can I add different meta open graphs for homepage and single product pages?

When I post the link of my site on facebook, the image added was 2 images, logo and other one. Facebook displayed the first ones. So I needed to add in default_head_block.xml file (app/design/frontend/...
0
votes
1answer
501 views

How Can I Open the Modal Dialog Box in Checkout Authentication?

I want to make it so that when any User buys a product, when checkout is clicked on then the first modal dialog box opens to either login or use a guest account to purchase the product.
1
vote
2answers
938 views

When i post a URL to Facebook I get html code showing in the post

When I post a link to Facebook I get the HTML code of the title showing in the post. As per this screenshot http://prntscr.com/e858be Can anyone advise why and if there is a way to stop this from ...
7
votes
5answers
9k views

Manually install Open Graph Tag

I am trying to add opengraph on my website manually. I found the tutorial and it works like a charm... but only for Facebook. You can view the tutorial here: http://naileditdesign.com/facebook-open-...
1
vote
1answer
862 views

Category page layout meta update - add og:image [closed]

Can I update layout at category page to add og:image tag? I need to use special image as og:image, not category image nor thumbnail image. Thanks
0
votes
1answer
2k views

How can I get price of grouped product?

I need to set Open Graph price grouped product in <head> section. I can get price of simple product in this way: <meta property="og:price:amount" content="<?php echo $_product->...
0
votes
2answers
773 views

Open Graph problem in Magento

While creating Open Graph extension in Magento I came across an issue- although my metatag is correct, facebook cannot catch my og tag because there is too much code before my meta/og tag. Has ...
0
votes
2answers
676 views

Inserting Open Graph tags via custom module and block

I'm using Magento EE 1.6 When I use a custom block class to display some tags inside my <head>, block won't display. But if I use the "page/html" type, everything is fine... I need my custom ...
6
votes
5answers
8k views

Graph is not showing magento admin dashboard

My Magento having over 1 lakh products orders, but graph not showing according to sale on magento admin dashboard. please help me what i need to do. Graph showing blank. no graph image is showing. ...
4
votes
1answer
7k views

How to Dynamic generate Open Graph protocol meta tags

<meta property="og:url" content="<?php echo "http://". $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];?>"/> <meta property="og:description" content=""/> <meta property="og:title"...