I realize this issue is resolved for the OP, but if someone else comes along having problems with the new Facebook Graph API, I came up with a variation that works fine for me. I posted a demo, tutorial, and the code at facebookgeewhiz.com.

Long time dynamicdrive.com user here!!!!