We finish the semester with a simple facebook app, hosted on the google app engine, and using canvas. Your facebook app will be a 'canvas' app. It will fetch the user's friends' profile pictures and use a canvas
to display them all in random positions, with random rotation, and with a white border around each one, like the collage shown here. Specifically you will do the following.
- Implement a new google app engine app which you will register as a facebook app.
- Your app will let the facebook user log in. Once logged in, and you have obtained permission to view his friends list, your app will fetch his friends list, then fetch the profile picture for each friend, and finally it will display these photos in one large
canvas
. - Also, under each photo you will place that person's name.
You will turn it in on Wednesday, April 27 @11am here. Make sure you include both the URL to your facebook app (http://apps.facebook.com/yourappname) and the appspot name of your deployed app (http://yourgoogleapp.appspot.com).
Required Reading
- Facebook developers' documentation. You will mostly be using the graph API via the JavaScript SDK and the code in the next bullet point.
- Facebook Python SDK. This is the library and sample code (under 'examples') that I used in class. Remember to add the 'post' method (as I showed in class) because it will not work without it.
No comments:
Post a Comment