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