fbmq
fbmq copied to clipboard
Postback stop sending till refresh
Whenever i try to interact with the persistent menu, the first 2 interactions it does what it is supposed to do, but after those 2, if i want it to work i have to refresh the whole page. Any help would be appreciated.
page.show_persistent_menu([Template.ButtonPostBack('Menu', 'MENU_PAYLOAD')])
`@page.handle_postback def received_postback(event): sender_id = event.sender_id recipient_id = event.recipient_id time_of_postback = event.timestamp
payload = event.postback_payload
print("Received postback for user %s and page %s with payload '%s' at %s"
% (sender_id, recipient_id, payload, time_of_postback))
page.send(sender_id, "Postback called")`
No logs appear on heroku aswell
And appears to be only with persisten menus
Having similar issue with postback buttons in persistent menu.
I too experience something similar to this
I have this problem randomly too