patched facebook plugin to be compatible with new api

This is to make the facebook login work :)