Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Friday, July 21, 2017 12:12:16 AM(UTC)

Rank: Member

Groups: Registered
Joined: 6/12/2017(UTC)
Posts: 14

Do you have any examples of the AddMetaData which would be useable FaceBook OpenGraph

These are examples of the OpenGraph Meta

<meta property="fb:app_id" content="987575487545" />
<meta property="og:type" content="product.item" />
<meta property="og:url" content="Put your own URL to the object here" />
<meta property="og:title" content="Sample Item" />
<meta property="og:image" content="https://fbstatic-a.akamaihd.net/images/devsite/attachment_blank.png" />
<meta property="product:retailer_item_id" content="Sample Retailer Product Item ID" />
<meta property="product:price:amount" content="Sample Price: " />
<meta property="product:price:currency" content="Sample Price: " />
<meta property="product:availability" content="Sample Availability" />
<meta property="product:condition" content="Sample Condition" />

I've seen these two variations of AddMetaData

public IEncodedString AddMetaData(string metaType, string metaValue);
public IEncodedString AddMetaData(string metaKey, string metaValue, string templateFullName);

Is this appropriate use for the first version:

@AddMetaData("fb:app_id", "987575487545");
@AddMetaData("og:type", "product.item");

ifso how does one use the second variation with template?

Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.046 seconds.