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

Development Tools

Konrad Pilch
Konrad Pilch
2,435 Points

How to get facebook ..

HI,

How can i make something like this about the facebook social media widget on the right?

I know that its a widget probably, but i want to code it or rather get it form my page.

1 Answer

Codin - Codesmite
Codin - Codesmite
8,600 Points

Best bet would probably be to have play around with Facebook's Embedded Post API:

https://developers.facebook.com/products/social-plugins/embeds/

You should be able to throw together something that replicates the same functionallity as in your example.

*edit: Here is the API for the twitter posts he also has in the window:

https://dev.twitter.com/web/embedded-tweets

Konrad Pilch
Konrad Pilch
2,435 Points

The thing is I know a little about JS and especially JSON and Ajax: p I'm going to go for the luck. But I remember a guy freelanceer managed to do thst in a link where i could change the valute, maybe I can get it again but uh.