tgallice / fb-messenger-sdk

Facebook Messenger Bot php sdk

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The last_ad_referral and is_payment_enabled fields are now deprecated

aldovilardy opened this issue · comments

Whe the application try to get the user profile information request the "is_payment_enabled" but this is field are now deprecated. How or where can I deactivate this field in the request?

GET https://graph.facebook.com/2126650607351131?fields=first_name%2Clast_name%2Cprofile_pic%2Clocale%2Ctimezone%2Cgender%2Cis_payment_enabled&access_token=resulted in a400 Bad Request` response: {"error":{"message":"(#100) The last_ad_referral and is_payment_enabled fields are now deprecated. Please refer to our D (truncated...)

{
    "error": {
        "message": "(#100) The last_ad_referral and is_payment_enabled fields are now deprecated. Please refer to our Developer Document for more info.",
        "type": "OAuthException",
        "code": 100,
        "error_subcode": 2018254,
        "fbtrace_id": "F1E6yZfYqya"
    }
}