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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

How to save create og image from featured image in wordpress

I have to create og image url from featured image because along with featured image i have to send text from post title. i have created custom field in editor named as tnation_og_image and i have to ...
Tisha Jhanwar's user avatar
0 votes
1 answer
44 views

Facebook sharing debugger tells me that og:image is not specified in the page, but it is?

I had read many articles and tried different solutions, but facebook debugger still tells me: The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags. In ...
Aldo Cauchi Savona's user avatar
0 votes
2 answers
973 views

M2.4 - How to add OG tag for categories?

I am created OG tag for the Homepage and products, For Homepage : 1)app/design/frontend/Zero/my_theme/Magento_theme/layout/default_head_blocks.xml <meta name="og:title" content="...
zus's user avatar
  • 155
2 votes
2 answers
3k views

How to remove GraphQL from Magento 2.3?

I'm not planning to use GraphQL in my Magento 2.3 and I would like to remove it at all for now, not just disable it. How could I do it?
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
866 views

Add Rich Snippets Magento 2

I have the following code, which I have appended to the opengraph/general.phtml file in Magento 2. I am hoping this will add the rich snippet data required by Google, but I am receiving an error (...
YorkieMagento's user avatar
1 vote
0 answers
271 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?
prathwi E K's user avatar
0 votes
1 answer
173 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="<...
YorkieMagento's user avatar
0 votes
1 answer
788 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->...
YorkieMagento's user avatar
2 votes
2 answers
7k 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 ...
Pradeep Sanku's user avatar
1 vote
1 answer
615 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(), '...
Alexey Giryayev's user avatar
4 votes
3 answers
10k 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/...
Raluca Albu's user avatar
0 votes
1 answer
1k 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.
jignesh sensussoft's user avatar
2 votes
2 answers
2k 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 ...
James Weston's user avatar
8 votes
5 answers
11k 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-...
Nabeel M's user avatar
1 vote
1 answer
1k 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
sidlo's user avatar
  • 416
0 votes
1 answer
3k 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->...
KaMZaTa's user avatar
  • 205
0 votes
2 answers
1k 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 ...
Jin Lin's user avatar
0 votes
2 answers
923 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 ...
LittleBigDev's user avatar
9 votes
6 answers
10k 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. ...
Rock's user avatar
  • 115
5 votes
1 answer
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"...
Wen Wei's user avatar
  • 353