others - 如何在订阅facebook页面时解决"The parameter subscribed_fields is required"错误?

时间:

在新的Graph API v3.2中,必须传递参数subscribed_fields,以及post请求me/subscribed_apps (使用页面访问令牌作为访问令牌),你需要传递一个可用的subscribable字段数组,这些字段是:


[


 feed, mention, name, picture, category, description, conversations,


 branded_camera, feature_access_list, standby,


 messages, messaging_account_linking, messaging_checkout_updates,


 message_echoes, message_deliveries, messaging_game_plays, messaging_optins,


 messaging_optouts, messaging_payments, messaging_postbacks,


 messaging_pre_checkouts, message_reads, messaging_referrals,


 messaging_handovers, messaging_policy_enforcement,


 messaging_page_feedback, messaging_appointments, founded,


 company_overview, mission, products, general_info, leadgen,


 leadgen_fat, location, hours, parking, public_transit,


 page_about_story, phone, email, website, ratings, attire,


 payment_options, culinary_team, general_manager, price_range,


 awards, hometown, current_location, bio, affiliation, birthday,


 personal_info, personal_interests, publisher_subscriptions, members,


 checkins, page_upcoming_change, page_change_proposal,


 merchant_review, product_review, videos, live_videos, registration,


]



像比如: subscribed_fields: ['messages', 'message_deliveries']

...