Is there any way to retrieve the number of the Facebook Graph API latest version programmatically?
This is not actual answer but it may be helpful. I am not sure is it possible or not to get latest API version using API call but we can get notified via email when API will be changed. https://www.apichangelog.com provide this kind of service.