change some facebook api

change some facebook api 
add get facebook version