I haven't used Facebook in a while, so maybe things have changed, but don't they show you a permissions page where you agree to give the developer access to your information?
Also, there are various ethical issues with the users consenting to provide data under the guise of academics and then the data being turned over to commercial and political interests.