0

我正在为页面创建一个 Facebook Webhook。当用户向页面发送消息时效果很好,webhook 的结果作为 json 对象返回:

{"entry": [{"changes": [{"field": "conversations", "value": {"thread_id": "t_100015009722515", "page_id": 1863367573935021, "thread_key": "t_100015009722515"}}], "id": "1863367573935021", "time": 1510797239}], "object": "page"}

但是当登录页面的 Facebook Messager 并回复用户时,webhook 不起作用?


-webhook 页面:-all subscribed
权限:messages, messaging_postbacks, messaging_optins, message_deliveries, message_reads, messaging_payments, messaging_pre_checkouts, messaging_checkout_updates, messaging_account_linking, messaging_referrals, message_echoes, standby, messaging_handovers, messaging_policy_enforcement, conversations, affiliation, attire, awards, bio, birthday, category, checkins, company_overview, culinary_team, current_location, website, videos, ratings, public_transit, products, product_review, price_range, picture, phone, personal_interests, personal_info, payment_options, parking, name, mission, merchant_review, mention, members, location, live_videos, leadgen, hours, hometown, general_manager, general_info, founded, feed, email, description

4

1 回答 1

2

您应该在应用程序中收听message_echoes事件以查看您的消息。

查看您的应用事件侦听器。

于 2017-11-18T22:09:53.757 回答