fix PostImageToFacebook function (window.accesstoken)