This project is read-only.

Facebook Bookmark

Mar 4, 2009 at 1:54 AM
Anyone tried to add a facebook bookmark top the PostView.ascx page?
I cant work out what the code should be... :(

Mar 4, 2009 at 7:14 PM
worked it our i think  this seems to do the trick;

<a rel="nofollow" href="<%=Server.UrlEncode(Post.AbsoluteLink.ToString()) %>&amp;title=<%=Server.UrlEncode(Post.Title) %>">Facebook it</a>
Sep 8, 2009 at 5:17 PM

I tried that and it is using the ASCII code on the <%=Server.UrlEncode(Post.AbsoluteLink.ToString()) %>.  So the link comes out like.

How do I fix this?<!--erver.UrlEncode(Post.AbsoluteLink.ToString())-->