Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS How to Make a Website Adding Pages to a Website Build the Contact Page

Angi Cotte
PLUS
Angi Cotte
Courses Plus Student 446 Points

how can I change the link to tweet, for a link to write a message on facebook?

I need to know how to add a link for facebook without going to the profile...

Narbe Voskanian
Narbe Voskanian
1,253 Points

This should work. Just replace FACEBOOKID with your facebook id.

``` <li class='facebook'><a href='https://www.facebook.com/messages/FACEBOOKID'>Facebook.com/FACEBOOKID</a></li>

Angi Cotte
Angi Cotte
Courses Plus Student 446 Points

thank you so much!!!! thats what I need!!!

1 Answer

<a href="https://www.facebook.com/sharer/sharer.php?u=http://www.google.com">Share on Facebook</a>

Where http://www.google.com would be replaced by the link you wish to share.

Angi Cotte
Angi Cotte
Courses Plus Student 446 Points

<li class="twitter"><a href="http://twitter.com/intent/tweet?screen_name=nickrp">@nickrp</a></li>

we use this link to write a tweet, but I dont have Tweeter so I need a link that takes to you to a private message on facebook!!!