Forums

 
  Support Forum  Modules  Engage: Publish  Problem sharing with Facebook
Previous Previous
 
Next Next
New Post 2/3/2009 2:55 PM
  mperdmo
2 posts
No Ranking


Problem sharing with Facebook 

 Just having some problems with Engage:Publish and sharing articles.  When I enter a URL, and the "Email a Friend" element exists, Facebook seems to pick up invisible text.

I tried this on a couple different sites and the same thing happens every time.  I get:

 (Use a comma to separate multiple e-mail addresses.) Enter your e-mail address:   Message to attach: We use this address only to tell the recipient who sent the message. We do not save or re-use it in any way. Send Email  Cancel

Set as the article preview.  Try these engage:publish installs that all have the "Email a Friend" component enabled:
http://www.cityftmyers.com/tabid/444/itemid/608/Fort-Myers-Farmers-Market-Grows-with-the-Addition.aspx
http://www.zonediet.com/tabid/130/itemid/1105/Stick-with-ZoneDietcom-to-Achieve-Your-New-Years.aspx

Our website has the same problem as these sites do.  FYI: To test this, go to Facebook "Posted Items", and input the URLs.  Facebook completely garbles the site.  However, they do provide a way to ensure the right content is picked up.  Is there any likelihood of this happening with the next release?
 

 
New Post 2/3/2009 3:25 PM
  Chris Hammond
1117 posts
1st Level Poster


Re: Problem sharing with Facebook 

Please be sure to add issues like this to http://support.engagemodules.com so we can keep track of them. Any information for how to resolve the issue (from facebook documentation/links) will help to speed up the process of resolving the issues, please provide as much info as possible.

Chris


Directory of Training Programs, DotNetNuke Corporation
 
New Post 2/6/2009 2:31 PM
  mperdmo
2 posts
No Ranking


Re: Problem sharing with Facebook 

 Thanks, I posted an issue with a link to the documentation facebook provides

 
New Post 2/8/2009 10:33 PM
  Chris Hammond
1117 posts
1st Level Poster


Re: Problem sharing with Facebook 

perfect, we will see if we can't get this corrected in the next release.


Directory of Training Programs, DotNetNuke Corporation
 
New Post 2/19/2009 9:42 PM
  Brad Bamford
67 posts
6th Level Poster


Re: Problem sharing with Facebook 

wow, this is really neat.
How hard  would it be to add a "share on facebook" link on the article display?
That would definitely make it a lot easier for users to post.
I really want to add this to my site.

 
New Post 2/19/2009 10:01 PM
  Chris Hammond
1117 posts
1st Level Poster


Re: Problem sharing with Facebook 

Brad, that's likely not something we would add to Publish directly, but with the templating engine you should be able to add the Javascript that facebook provides.

Personally I would go to the page linked below and copy the javascript they have there and either put it in all my skins, or in a module at the bottom of my article display page.

http://www.facebook.com/share_partners.php

As for the original issue with Facebook, I think I have found the problem, and it might not actually be Publish causing the problem, but you might be able to get Publish to fix the problem by including a Meta Description with all your Publish articles. I'm testing this out now.


Directory of Training Programs, DotNetNuke Corporation
 
New Post 2/19/2009 10:50 PM
  Chris Hammond
1117 posts
1st Level Poster


Re: Problem sharing with Facebook 

Well after some testing I'm not getting very far. I figured if I populated the meta description Facebook would pick that up, but I don't think it is because DNN is adding in an ID before the content attribute

<meta id="MetaDescription" name="DESCRIPTION" content="So I just booked our flights from St. Louis to Denver for our first house hunting trip to the Ft. Collins area." />

instead of

<meta name="DESCRIPTION" content="So I just booked our flights from St. Louis to Denver for our first house hunting trip to the Ft. Collins area." />

I'm not positive that's it, but I think that may be the cause. Unfortunately Facebook doesn't help much, this URL pretty much just says to use the Title and Description sections

http://www.facebook.com/share_partners.php

 


Directory of Training Programs, DotNetNuke Corporation
 
New Post 2/21/2009 8:29 PM
  Brad Bamford
67 posts
6th Level Poster


Re: Problem sharing with Facebook 
Modified By Brad Bamford  on 2/21/2009 9:30:40 PM)

Chris, after some testing myself, I have found that once you attempt to share the page on Facebook, they cache it.
(so you only get one try per article)
I don't know how long they cache it, but you can change everything on the page and try to share the same link and you will get the old article information. (So you have to test your html code changes differently)

What I did was save the source of the page as an html file into the root of my site and then kept renaming the file while testing changes.

Here is what I found,
your meta name "DESCRIPTION" doesn't' work because it must be all lowercase. (It won't work as all caps).
It will also work with an ID tag, so DNN adding an html ID tag is no problem.

hope this helps,

Brad Bamford

 
New Post 2/21/2009 8:43 PM
  Chris Hammond
1117 posts
1st Level Poster


Re: Problem sharing with Facebook 

Thanks for testing this Brad, I'll see if we can't force the description to be lowercase, it's coming from DNN that way so I am not positive we'll be able to do that, but I will try.

C


Directory of Training Programs, DotNetNuke Corporation
 
New Post 3/2/2009 11:36 AM
  Chris Hammond
1117 posts
1st Level Poster


Re: Problem sharing with Facebook 

So I've tracked this down further.

DNN makes the DESCRIPTION KEYWORDS and other meta tags in the pages all caps, which according to the XHTML spec is invalid. I believe that sites that aren't using XHTML skins will work as normal, but as soon as you change the doctype (as you must in Publish to use the email a friend functionality) facebook will then ignore the DESCRIPTION tag.

Right now the only suggestion I have for a fix is to manually change your default.aspx file in the root of your website to make DESCRIPTION be description.

This is what we would call a Core change, and is not normally recommended, but as of right now that's the only fix I know of. I'm working with the core team to see if this can be addressed in DNN in a future release. We won't be making any changes to Publish in regards to the Facebook functionality.

Thanks for your help tracking this as wel Brad.

Chris

 


Directory of Training Programs, DotNetNuke Corporation
 
Previous Previous
 
Next Next
  Support Forum  Modules  Engage: Publish  Problem sharing with Facebook

Purchase

Please click here to buy now.
Payment will be processed via credit card or PayPal.

Test Drive!

Want to find out how it works? Visit our demo site to see the modules in actions!

Subscribe

Sign up for our newsletter and get the latest product updates!

Online Support

Powered by DotNetNuke