get Facebook api and key from properties.