You are here:   ArielOrtiz.com > Software Design and Architecture > Third Quarter Term Exam

Third Quarter Term Exam

This exam can be developed individually or in pairs.

Create a Ruby on Rails (RoR) application that allows you to access anyone's facebook basic public information. You will need to use facebook's Graph API in order to acomplish this.

Your application should start with a main page that contains two links:

When selecting option 1, a page with a web form should be presented, requesting a facebook id (for example 647233460) or username (for example angeles.junco). When the user submits the form, a new page should appear, containing all the basic public information of the specified facebook user, plus the profile picture and a direct link to his/her facebook page. Additionally, the facebook id and name fields should be stored in a database (using RoR models), unless they are already there. An error message should be displayed instead if the id or username is not valid. For example, for facebook user 647233460, the page should contain something like this:

Field Value
id 647233460
name Angeles Junco
first_name Angeles
last_name Junco
username angeles.junco
gender female
locale en_US
profile picture
facebook page http://www.facebook.com/angeles.junco/

When selecting option 2, a page should appear containing a list with all the names of the people whose information has been previously accessed. Each of these names would be a link that, when followed, shows you the selected person's information as in the table above.

For both options 1 and 2, add a link to return to the main page.

Make sure to add the author's name and student ID within a comment at the top of every source file you create and/or modify.

Delivery and Assessment

The application will be personally assessed on Wednesday, November 9 during the lab class. Using the Online Assignment Delivery System (SETA), deliver a tarball file called exam3.tgz containing the directory with your full application.

© 1996-2011 by Ariel Ortiz (ariel.ortiz@itesm.mx)
Made with Django | Licensed under Creative Commons | Valid HTML5 | Valid CSS