Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Question about facebook links
Nevil
Posted on 13 Feb 2010, 00:36:23

Access: Member
Total Posts: 32
Joined: 2010-01-08

Hy,

I wonder if it's possible to add a link in my articles to allow someone linking it inside an facebook article.

The link, in casuals online blogs, to show an article in facebook is of the type:
http://www.facebook.com/share.php?u=http:// -> and the direct link to the article of the blog.

In N-13, this direct link is available only in the rss option : {url}.

Is it possible to have this direct link also in the template of the news ?

Thanks
#1860
Chris
Posted on 13 Feb 2010, 00:42:31

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

Code:
<a href="http://www.facebook.com/share.php?u=http://youdomain.com/?id={id}">Facebook</a>


If you're using friendly URLs use something like this

Code:
<a href="http://www.facebook.com/share.php?u=http://yourdomain.com/news/{id}-1/{title}.html">Facebook</a>
#1861
Nevil
Posted on 13 Feb 2010, 01:39:58

Access: Member
Total Posts: 32
Joined: 2010-01-08

You never sleep :)

in fact with friendly URL, the code
Code:
<a href="http://www.facebook.com/share.php?u=http://yourdomain.com/news/{id}/{title}.html">Facebook</a>

works perfectly, but without the "-1" after ID.

Thanks a lot !!

again.
#1862
Network-13.com © 2013