Professional Documents
Culture Documents
CMPT412 Assignment 1
CMPT412 Assignment 1
0)
In this assignment, you will create a simple mashup application using facebook APIs.
Facebook has REST APIs, which means that you can invoke its APIs with any
programming languages or web technique you want, as long as they can send HTTP
requests and receive XML or JSON messages. There are various facebook APIs client
libraries based on different programming languages to facilitate the mashup
process, such as authentication and serialization. Here is a list of clients’ libraries:
http://wiki.developers.facebook.com/index.php/Client_Libraries .
There are three “official” libraries which are maintained and supported by facebook:
they are in JavaScript, PHP 5, and ActionScript 3.0. For this assignment, it is highly
recommended to use these libraries, because they have a relatively better
documentation, larger user community, and more online examples and tutorials
compared toother community-driven libraries.
There is an alternative way to develop social mashups. Websites like zembly provide
an integrated development environment for creating social applications.
Resources:
The facebook developer site provides a good introduction about how to create a
“hello world” facebook application (an article and video ):
http://developers.facebook.com/get_started.php?tab=tutorial The language used in
the tutorials is actionscript (the programming language of Flex), but the general
concepts are independent of the language.
http://www.adobe.com/devnet/facebook/articles/build_your_first_facebook_app_01.h
tml
Grading:
Advanced requirements (you can pick any or several, if your total mark exceeds
100%, it will be considered a bonus towards the next assignment).
Suggestion:
You should setup the developing environment first, choose the language and library
you are comfortable with. If you want to implement an iFrame, FBML, or facebook
connect application, you need a server and the IP address or domain name of the
server. If you are not familiar how to set a web server up, the IDE netbeans
http://www.netbeans.org/ is highly recommend. It supports Java, PHP, Ruby, JRuby,
Groovy as developing languages. Netbeans comes with the Apache Tomat, GlassFish
server.