fbmq icon indicating copy to clipboard operation
fbmq copied to clipboard

Postback stop sending till refresh

Open Pedrat opened this issue 6 years ago • 5 comments

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")`

Pedrat avatar Feb 28 '18 14:02 Pedrat

No logs appear on heroku aswell

Pedrat avatar Feb 28 '18 14:02 Pedrat

And appears to be only with persisten menus

Pedrat avatar Feb 28 '18 14:02 Pedrat

Having similar issue with postback buttons in persistent menu.

pdoggi avatar Mar 13 '18 02:03 pdoggi

I too experience something similar to this

shackra avatar Apr 10 '18 19:04 shackra

I have this problem randomly too

skar3 avatar Jun 15 '18 15:06 skar3