Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


Kevin Tran
Kevin Tran
10,580 Points

Getting Tweets through Twitter's API?


I've been reviewing back and forth through AJAX and APIs and I decided to set a challenge for myself in that instead of using Flickr, I'd try to display a couple of Twitter posts from a search term.

Although I'm sort of in general just sort of stumped. I assume that I should be using an access token(s) and the consumer token(s) but I'm not sure where I should be plugging them in. I've tried looking for some tutorials but they either use other languages I am not yet familiar with or are out of date with the 1.1 Twitter API.

Any help would be appreciated!

Edit: Probably should also mention this is coming from the AJAX Basics course, just for some context.