Stack Exchange Network

Stack Exchange network consists of 175 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

Questions tagged [open-graph]

Facebook's Graph API allows websites to draw information about more objects than simply people, including photos, events, and pages, and their relationships between each other. This expands the social graph concept to more than just relationships between individuals and instead applies it to virtual non-human objects between individuals, as well.

1
vote
0answers
11 views

magento 2 how to add fb open graph and twitter card for cms pages

I want to add open graph tags and twitter card for Magento 2 cms pages and also wanted to know where this cms pages will be stored either in any module or database?
0
votes
1answer
12 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
61 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
120 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
122 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
2answers
835 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
235 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
2k 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
562 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
1k 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
895 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
799 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
691 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 ...
7
votes
6answers
9k 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. ...
5
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"...