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

HTML

Is it possible ?

Let's say I want the main content of my page to be my facebook posts is it possible?

3 Answers

Facebook does have a plug-in for pages - Facebook Page Plug-in

Beyond that, it's usually easier to go the other way. i.e. - Push wordpress posts to facebook

Steven Parker
Steven Parker
243,266 Points

You might try using an iframe element.

But it could cause some confusion for visitors. You might consider just providing a link that people can choose if they want.

Mike's suggestion of using the Facebook API is probably a better way to go and may be worth the extra time to implement.

Mike Wagner
Mike Wagner
23,888 Points

You might check out the Facebook API for doing something like that. It's a bit more of an advanced topic than just general web stuff but, if you're patient enough, you can sift through the documentation and/or find some tutorials to help you along. It doesn't appear to be exceptionally difficult after taking a brief read through it myself. It's probably easier than some of the other alternatives that may or may not work half of the time.