After fighting with the Graph API for a few weeks we seem to have finally tamed the beast. We are using the old Facebook Connect API to log into Facebook and then calls to the new Graph API to get the data.

The idea of using the old system for log-in came from http://github.com/ryanscott/bamboo/. The reason we used it was that just using Graph for logging in had problems with the sessions expiring after 1 hour and making the user log in again. There is probably a better way around the issue but we needed something quickly.

Stu