Support Center/Community/Community Questions & Answers

Answered

Where does the E4M widget get its default FB opengraph data?

Raziel Panic
asked this on May 08, 2012 02:18 am

When I click the <share> to Facebook link on this E4M http://youshriek.com/pearly/ it fills the resulting dialog headline and description with some info from one of my other items rather than from the page it's on or the item it downloads.

 

Comments

User photo
Topspin Artist Support
Topspin Media
Ajax_loader_small Answer

Hi Raziel, thank you for reaching out. Unfortunately, this is a bug. When the widget is shared, it's pulling meta data from your Spinshop, and since your Spinshop is currently configured with a Featured Offer, this is the data being shared: 

<meta property='og:description' content='Somewhere Between (Heaven & Sorrow) compact disc in a six-panel case + (Heaven & Sorrow) High-Dynamic Master Edition FLAC download + The Caesium Fallout Series EP 12" Vinyl in a Ltd. Edition Foldout Jacket + The Fallout EP instant download'/>

Until we resolve this issue, the only way to prevent this data from being pulled into Facebook is by removing the Featured Offer. An advanced alternative could be to use our labs feature Download Anywhere to create custom Facebook Share Vars for your page. Then, sharing the URL itself will actually share the widget.

May 08, 2012 04:23 pm
User photo
Raziel Panic

Glad to know it is a bug. I'll definitely ask this stuff in public instead of email from now on. I didn't see that documented anywhere.

It appears that even when I use the advanced alternative Download Anywhere to present an E4M, the widget itself still won't respect the opengraph parameters. That is, the share links on the bottom of the modal overlay will get the og: tags, but not the ones behind the Flash <share> link. Right?

May 08, 2012 06:15 pm
User photo
Topspin Artist Support
Topspin Media

That's correct - I was going to suggest removing the <share> function from the E4M itself, and it looks like you've already done that. Now, the widget can only be shared from the Download Anywhere confirmation modal, which you've configured to drop traffic at http://youshriek.com/.

The other sharing mechanism I mentioned would be to embed the 'Facebook Share Vars' from your DA setup in the <head> tag of your page. Then, sharing the page URL itself to Facebook would render the widget.

May 09, 2012 05:52 pm
User photo
Raziel Panic

  The other sharing mechanism I mentioned would be to embed the 'Facebook Share Vars' from your DA setup in the <head> tag of your page. Then, sharing the page URL itself to Facebook would render the widget.

Got it. I had considered doing that, but couldn't decide if I really wanted the canonical FB share to get the modal. I can see how that would be useful. I'll work the technique into a future plan. Thanks for the help!

May 09, 2012 10:10 pm