Tuesday, February 21, 2006

Social Networks and their API's

Myspace:
I haven't been able to find an API for myspace but it looks like it won't matter since News Corp., who recently bought myspace, made a deal to give their service to Sprint, Nextel and Verizon. "Users would be able to read and post to the site at no charge".

View article here

Facebook:
There isn't an offically API for the facebook that I could find but there is one written by Andre Cohen. It's implemented in Perl, which raises the question, Will I be able to use it if I am writing in Java. I really don't know how friendly Perl is with Java? Anyone know?

Facebook API Documentation

Flickr:
Flickr does have an API. The issue with Flickr is that to use it one needs an API key which can be commerical or non-commerical. I'm not sure which category our projects fall into. There is another photo sharing site called 23 whose API has support for Flickr's API. 23 is trying to create open standards in the sharing world.

On a related note if you have a flickr account, there is an uploader for your cell phone called MobUp. The JAD and JAR files are available here by downloading the mobup source file.

4 Comments:

Blogger Frank said...

Certainly everything for this class in non-commercial. So you can feel free to use Flickr, Google, etc keys.

Also for perl interfaces, you could always do a backend webserver that's running perl that you can query from the phone. Seems like it would be fairly straightforward to do as the phone could use sockets or http to communicate with the server to get the aggregated feeds.

11:54 AM  
Blogger MattAdkisson said...

Like Frank said, if the Java interacts with a webserver that runs Perl then you could simply use CGI to pass data from one to the other. It shouldn't be a problem, although if you've never set up a server or used Perl before then you might run into roadblocks. If enough people need to do this for their projects then maybe we could cover the basics in class.

3:39 PM  
Blogger Andre said...

Small correction, the Facebook API is actually written in PHP (not Perl).

4:48 PM  
Blogger Lisa Hui said...

There's also the http://scripts.mit.edu service for running scripts via your Athena account (so that you don't have to set up your own webserver, necessarily).

11:49 AM  

Post a Comment

<< Home