We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I press an option in the persistent menu, it does not give an operation signal.
def show_persistent_menu(): page.show_persistent_menu([Template.ButtonPostBack('Cotizaciones', 'MENU_PAYLOAD/1'), Template.ButtonPostBack('Postulacion', 'MENU_PAYLOAD/2'), Template.ButtonPostBack('Contacto', 'MENU_PAYLOAD/3')]) @page.callback(['MENU_PAYLOAD/(.+)']) def click_persistent_menu(payload, event): click_menu = payload.split('/')[1] print("you clicked %s menu" % click_menu)
`Any ideas?
The text was updated successfully, but these errors were encountered:
Is this perhaps because FB is now using the messenger_profile API for its Persistent Menu?
def _send_thread_settings(self, data): r = requests.post("https://graph.facebook.com/v2.6/me/thread_settings", params={"access_token": self.page_access_token}, data=data, headers={'Content-type': 'application/json'}) if r.status_code != requests.codes.ok: print(r.text)
from https://github.com/conbus/fbmq/blob/master/fbmq/fbmq.py#L304-L311 is using the thread_settings API.
I haven't tried fixing this myself yet.. it's on my todo list... :)
Sorry, something went wrong.
Works for me. @geordanSoapros please check your Callback URL configuration.
No branches or pull requests
When I press an option in the persistent menu, it does not give an operation signal.
`Any ideas?
The text was updated successfully, but these errors were encountered: