Angad
Angad11mo 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 Serafim11mo ago
I'd try hub_mode and hub_challenge
Angad
Angad11mo 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
Angad11mo ago
No description
rubenf
rubenf11mo ago
we do not support keys with '.' in them at the moment actually in python you could use **kwargs
Angad
Angad11mo ago
@rubenf thanks alot this solve my problem 👍