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!
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
Jair Fernandes2,234 Points
What is the Facebook equivilent to twitter link <a href="http://twitter.com/intent/tweet?screen_name=example">?
I want to use a Facebook link instead of a twiiter link, but I'd like it to be like the twitter link, such that, you dont see the profile just get a comment screen.
I don't think Facebook officially supports it anymore, but you'll find many people/services still use the
Note that the value of the
u variable/query string should be URL encoded.
This will open a page that will first ensure the user is logged in to Facebook and then fetch the OpenGraph info of the site (including things like the title, thumbnail image(s) and a description), and allow them to enter their own comment/post text, select where to post to, and finally what the audience should be.