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
Christian Solorzano
6,606 PointsHow To Embed Social Media Content?
Hello, I'm trying to embed some social media content to a website that I'm currently working on. I've found a great example of what I'm trying to achieve. Here's a link: http://www.mickjagger.com/ Notice how on the website, only the latest tweet is present and a few small Instagram thumbnails show as well as a "like" button for a Facebook page.
How can I accomplish something like that and have the control to modify the CSS.
Thanks so much!
2 Answers
Ryan Duchene
Courses Plus Student 46,022 PointsA lot of times, embedding social media content into your site will require using either JavaScript or some server-side programming, beyond HTML and CSS. However, for commonly-used functionality, most social networks will build widgets for you:
- Facebook (scroll down to Social Plugins)
- Twitter (embedded timeline is probably what you're looking for)
Most other networks should have these, so if you want to add other networks, just Google them.
Christian Solorzano
6,606 PointsThank you. I'll have to try these out.
Ryan Duchene
Courses Plus Student 46,022 PointsNo problem. Glad I could help!