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
Nick Pettit
Treehouse TeacherForum Contest: Create a Twitter Widget
Hi everybody,
It's time for a new Treehouse Forum contest! First, watch this video to learn more:
After you've watched the video, please read the details below carefully. I'm looking forward to your entries!
How to Enter:
Post a link to your project as an answer to this forum post. You can host your project anywhere you'd like.
Due Date: All entries must be submitted by Sunday, October 5th at 11:45pm ET. Here's a timezone chart so you can see what time that is for your locale.
Prize: The entries will be judged by Treehouse teachers based on both design, code, and originality. One winner will receive a free month of Treehouse on us! :) We'll announce the winner on Monday, October 6th and reveal the next contest.
toddschneider
4,795 PointsAwesome so excited for this contest! Is there a specific programming language or format that is customary in which twitter widgets are created?
Walter Cordero
10,850 PointsWhat programming language can be used for this widget ?, not know if there are any restrictions for it, and should it be fully functional widget for application to real websites?
Nick Pettit
Treehouse TeacherHi everyone,
The widget should be viewable on a webpage, so most likely, you'll need to use JavaScript.
Unsubscribed User
8,838 PointsHi, I understand that Nick, but I am not experienced with the Twitter API, is there a way to connect to it?
toddschneider
4,795 PointsWalter Cordero
10,850 PointsNick Pettit Ok I know that we use JavaScript to make the Widget, but Twitter Api 1.1 doesn't allow use oAuth with JavaScript, these tokens always be sent from the server, so, that means we need use a programming language to make this request to Twitter Api. Please let me know if I wrong. Thanks
Brandon Jepson
7,018 PointsSince the Twitter Api requires a key and token, we're going to need to use some backend language along with the javascript. correct?
toddschneider
4,795 PointsI believe that is correct Brandon! I think you will be able to find some more info on this subject in the ajax course that was given link here. hope this helps!
11 Answers
John MacDonald
8,593 PointsThe OAuth Testing seems to be down?
Chris Shaw
26,676 PointsOne thing I think that should be noted is Twitter have a specific set of guidelines they expect designers to use, because this is simply a contest I don't think it matters too much but it's something to keep in mind if you're going to release the widget to the world.
toddschneider
4,795 PointsThanks for this Chris!
Michael Choi
6,332 PointsCode Academy has a tutorial on Twitter API http://www.codecademy.com/en/tracks/twitter
benjamin goodday
Courses Plus Student 306 Pointswhat language should i use for this contest?
Juan Ribera
3,782 PointsI recommend using TimeAndDate instead of EveryTimeZone. It's a bit easier to understand than the one you guys are using (my opinion). Edit: Why? Not everyone around the world knows about UTC, EST / ET, GMT,... || I can't easily difference between both of those lines on EveryTimeZone. || Simply, TimeAndDate adjusts to anybody showing what they need to know.
Walter Cordero
10,850 PointsHi everyone, I really loved this challenge, this is my Twitter Widget. This is an example to this twitter widget Twitter Example
greetings.
James Magnavacca
20,170 PointsHi, this is my entry. I have done three different Twitter widgets:
The first one shows Tweets in a scrolling-down list
The second one shows Tweets one at a time and the user can slide down using the arrow-buttons.
The third one shows the Tweet also on google maps ( when possible )
This is a live-link of the three widgets http://jamesmagnavacca.altervista.org/twitterwidget/index.html and here's the gitHub repository TwitterWidgets.
Patrick Bell
Treehouse TeacherHello everyone,
Hope you all had an amazing week! We've just updated this post to reflect a new due date, as we've extended the contest for one more week. The new date date is Sunday, October 5th at 11:45pm ET, Nick looks forward to all of your submissions!
Juan Ribera
3,782 PointsHere's my entry:
(I hope Kenneth Love gets to check this out!) I implemented 2/3rds of it on python!
My fav on Python 3
First one I tried, on Python 2 because of old libraries out there (didn't apply any styling, compared to py3):
Another one, on NodeJS, Jade: A map that loads markers based on twitters around the world (Some hashtags are tweeted faster, and the map floods with these).
Again, I recommend using TimeAndDate to share deadlines across timezones. It's easier to understand than the one you guys are using.
toddschneider
4,795 Pointsgreat job man I love how you imported python I was trying to do this but couldn't quite get my head around it!
Noel Tekiri
1,009 PointsHello, this is my twitter widget.
I had initially posted my example before the cut-off time but had issues with the widget not displaying tweets. In the end I deleted and created a new app on Twitter and it works again.
I don't mind if I missed the deadline, this was a great challenge and I just want to show my results.
Nick Pettit
Treehouse TeacherHi everyone,
Thanks for participating in this contest! This week's winner is James Magnavacca. Some of the entires were pretty similar this week, but we liked James' entry because overall it was the most complete in its presentation.
In the newest forum contest, you have to create a sticky header. Good luck!
Walter Cordero
10,850 Pointswith all respect, this entry don't look like a widget, it's look like a single app, I think you must post what is your expect. Honestly that's not a widget, but you are the teachers.
James Magnavacca
20,170 PointsThank you very much! I really enjoyed working on this project and it's good to know that my work has been appreciated.
Unsubscribed User
8,838 PointsUnsubscribed User
8,838 PointsHi Nick,
I was wondering, how do you intergrate the twitter API?
Thanks, Max