change js fb api to php fb api, and make member system