Support for different Facebook API versions
Can now turn off data casting for Facebook