Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 46

Thread: xmlpackage to add Facebook 'Like' buttons & OG tags with bonus rel-canonical support

  1. #21
    Join Date
    Aug 2009
    Posts
    58

    Default Product image Image is not listing

    I have followed the instructions but my og tags has additional data. any clue? like 



    <!-- start of BFG Facebook XML Package -->
    <link rel="canonical" href="http://www.mysite.com/p-26387-soaked-in-luxury-batwing-jumper.aspx&#xD;&#xA; " /><meta property="og:title" content="Soaked In Luxury Batwing Jumper" /><meta property="og:type" content="product" /><meta property="og:image" content="http://www.mysite.com/images/Product/medium/26387.jpg&#xD;&#xA; " /><meta property="og:url" content="http://www.mysite.com/p-26387-soaked-in-luxury-batwing-jumper.aspx&#xD;&#xA; " /><meta property="og:description" content="A chic update on winter's quintessential cable, this Soaked in Luxury jumper is perfect for smart/casual styling, boasting directional batwing sleeves and a unique honeycomb knit panel.Features: Deep ribbed waistband, honeycomb knit panel across che" /><meta property="og:site_name" content="mysite" /><meta property="fb:admins" content="218243110149" /><link rel="image_src" href="http://www.mysite.com/images/Product/medium/26387.jpg&#xD;&#xA; " />
    <!-- end of BFG Facebook XML Package -->

  2. #22
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    873

    Default

    The &#xD;&#xA; are carriage returns and line spaces either within your XML or your XSLT. Make sure the xml is like

    HTML Code:
    <Value>3</Value>
    Rather than

    HTML Code:
    <Value>
        3
    </Value>


    TTFN

    BFG

  3. #23
    Join Date
    Aug 2009
    Posts
    58

    Default Image issue

    Thanks for quick response. I fixed that but it's sending different image to fb.
    We used Men image for different purpose but everytime I like, its sending Men image to fb not product image.


    http://www.facebook.com/profile.php?id=100001964692066

  4. #24
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    873

    Default

    I don't think that you followed the instructions exactly?
    I'm looking at (what I guess is) your product page here, & I don't see the tags appearing in the source code - if I can't see them, then facebook can't see them...


    TTFN

    BFG

  5. #25
    Join Date
    Aug 2009
    Posts
    58

    Default og tags

    Hi,

    Now you can see the og tags for all products www.joythestore.com but still its taking different image.
    We used men.jpg and women.jpg for different purpose but fb is looking only these 2 images.

    any clue?

    Regards
    Nagesh
    Last edited by Nagesh_Vitta; 11-13-2011 at 09:58 PM.

  6. #26
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    873

    Default

    Ahh I see.

    The product image for that is actually named WWKNSW130010NUD.jp rather then 26387.jpg - I guess you're using imagenameoverride?

    If so - you'll need to tweak the xmlpackage to allow for that.


    TTFN

    BFG

  7. #27
    Join Date
    Aug 2009
    Posts
    58

    Default image issue

    I have done that but still same issue. We have used sku code for images.

    Now og tags having correct values but no luck still iam getting the different image.

  8. #28
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    873

    Default

    It might be getting confused by the addthis script - which also provides facebook functionality.

    It might be getting confused by the presence of 2 x fb:admins tags.

    You can see that facebook have some issues with the tags here.


    TTFN

    BFG

  9. #29
    Join Date
    Sep 2005
    Posts
    213

    Default Am getting this error

    Any ideas ..Thank you

    XmlPackage Exception: Exception=Last Trace Point=[]. An error occurred during a call to extension function 'ProductLink'. See InnerException for a complete description of the error.

    Error Calling XSLTExtension Function ProductLink: Invalid value specified for ProductID ()


    System.ArgumentException: Last Trace Point=[]. An error occurred during a call to extension function 'ProductLink'. See InnerException for a complete description of the error.

    Error Calling XSLTExtension Function ProductLink: Invalid value specified for ProductID ()

    at AspDotNetStorefrontCore.XmlPackage2.TransformStrin g() at AspDotNetStorefrontCore.AppLogic.RunXmlPackage(Xml Package2 p, Parser UseParser, Customer ThisCustomer, Int32 SkinID, Boolean ReplaceTokens, Boolean WriteExceptionMessage)
    Gordon

    8.1.1

  10. #30
    Join Date
    Oct 2006
    Location
    South UK
    Posts
    873

    Default

    Can you post your xmlpackage?


    TTFN

    BFG

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •