Skip to content

Postback stop sending till refresh #59

Description

@Pedrat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions