I’ve spent a bit of time lately working with the Facebook API.
As part of learning the API, I was going to write a utility that would synchronize my Twitter status with my Facebook status. No brainer. Vice-versa would be nice as well but Facebook’s API is primarily read-only.
It really was, the only kicker was Facebook’s rather lame authentication process. Basically, if you’re a desktop application, you’re forced to open a browser window to validate a token and have the user authenticate directly with Facebook. Essentially, there’s no purely programmatic way to authenticate with Facebook. It’s well documented in this thread on the developers group. Attempting to circumvent the process is a violation of the ToS.
Rather than fight with it any longer, I moved on to play with another API. I’ve recently started using Remember the Milk for tracking tasks, etc. Rather than use python or ruby, I decided to build a Java-based API for their exposed REST services. The plan eventually will be to pull some statistics from the service.
It’s still a work in progress but it’s fairly straight forward so far. The most interesting part of the exercise is actually using Maven for managing is that I decided to use Maven for managing the project. Having never used Maven it was nice to see something just work out of the box. The only configuration required was to add a few extra dependencies to the pom.xml and force the maven compiler to -source 1.5. I use IntelliJ IDEA so generating project files was as simple as mvn idea:idea. A minor tweak of pom downloaded and linked the source for dependent libraries.
I’m impressed.
I just wish we could replace our existing ant-based build system at work with Maven. I’m not the only one who would love to have a sane and deterministic build process. It sure would make easier to say, No, you really can’t do that.
-
Pet Peeve: Don’t email my password to me in plain text You know the drill.
Signup for some random service on the internet
Receive a confirmation email with your account information
or
Forget a password for some random service ...
-
Eclipise Memory Analyzer (MAT) I must say the Eclipse Memory Analyzer looks pretty slick. There is some pretty good material over on the developers blog. Lastly, there was a talk on it ...
-
Open-source Web-based Code Review Tool: Rietveld Guido van Rossum, of Python fame, has recently released a Django-based application that enables web-based code reviews... Rietveld.
It supports any language and currently can hook into Subversion repositories. You ...
-
An implementation of the JVM in Javascript? Caught this over on JavaPosse Google Groups.
Essentially, some bright fellows over in Japan have developed a bytecode->javascript compiler. There's a demo floating around that took a Tetris ...
-
Facebook Chat? So it looks like the Facebook Chat service has finally started rolling out to my network (Facebook Chat has been mentioned previously).
Not quite sure how ...
Latest Entries
- Lessons Learned as a Project Lead
- Good ANTLR Resource
- Testing with Unitils
- Headed to Kelowna for a short vacation (and the laptop stays behind)
- Seam + Groovy + Maven : Nice Simple Hibernate POJOs
- Pet Peeve: Don’t email my password to me in plain text
- Eclipise Memory Analyzer (MAT)
- caBIG Annual Meeting - A developers perspective
- OS X + Java6: java.lang.UnsatisfiedLinkError: /usr/lib/java/libObjCJava.A.dylib
- Getting started with JBoss Seam and Maven
Blogroll
No Comments
Leave a Comment
trackback address