Posts

Showing posts with the label webhooks

Filtering WooCommerce Products by $_GET

Image
Clash Royale CLAN TAG #URR8PPP Filtering WooCommerce Products by $_GET What I need to be able to do is apply a value for an attribute in the URL, so only the products match that attribute are displayed. I don't want to do any widgets or other visible filters on the page. For this I presume I would need to use one of the webhooks, and filtering out all products that are about to be displayed. Can anyone advise which hook will be best in this case and a simple explanation on how the triggered function will return the new array of products? Thanks in advance! By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

How to use Dialogflow's fulfillment code with Kommunicate

Image
Clash Royale CLAN TAG #URR8PPP How to use Dialogflow's fulfillment code with Kommunicate Sorry if this question is dumb but I don't have much experience using Javascript or Dialogflow yet. I have a Dialogflow bot that I've integrated through Kommunicate into a test website. The bot works with responses set through intents, but fulfillment code seems to not run, as any response that's set through fulfillment doesn't happen. The fulfillment is coded through the inline editor. Here's some responses set through intents: And here's a response set through fulfillment: Here, you can see the fulfillment response working through the Dialogflow console: And finally, here you can see that it doesn't work through Kommunicate, but the intent response does: I'm pretty sure my problem is that fulfillment code just isn't running on Kommunicate, and needs to be integrated into Kommunicate in some way that I don't know of. Does anyone know what I need to do? E...

Retrieve leads from multiple pages Facebook API

Image
Clash Royale CLAN TAG #URR8PPP Retrieve leads from multiple pages Facebook API I'm currently working in a project where i want to, after requiring permissions, automatically retrieve leads originated from my clients' facebook page. For this, i'm using the facebook Graph API v3.0 in my PHP backend. I had success retrieving my client's form data but now i'm struggling to automatically retrieve their leads. I was primarily trying to create a webhook for each page, aiming to my API. The problem is: i didn't found any permission to ask to do this, the only way that i found was specifying the client's app id and secret, which i'm not wanting to do. Does anyone know some way to create those webhooks with other method or i will need to ask for leads_retrieval permission and keep requiring those leads periodically? Thank you for the help. By clicking "Post Your Answer", you acknowledge ...