patched facebook plugin to be compatible with new api