Angad
Angad13mo ago

i am facing an issue in get webhook when parsing a query parameter

include_query=hub.mode,hub.challenge the query variable are hub.mode and hub.challenge but i cant use this in script as a syntax error export async function main(hub.mode,hub.challenge) { -----> this give syntax eror return } is there some query object from which i can directly access these parameter as a key value.
5 Replies
Tiago Serafim
Tiago Serafim13mo ago
I'd try hub_mode and hub_challenge
Angad
AngadOP13mo ago
include_query=hub.mode,hub.challenge this thing is not change able as the payload is coming from another service(facebook) i try using hub_mode and hub_challenge but it didn't work
Angad
AngadOP13mo ago
No description
rubenf
rubenf13mo ago
we do not support keys with '.' in them at the moment actually in python you could use **kwargs
Angad
AngadOP13mo ago
@rubenf thanks alot this solve my problem 👍

Did you find this page helpful?