Twitter webhook, anyone?

Hello everyone,

I need to use Twitter webhook, and I was wondering, first, is it possible to do it only with Bubble? Second, if anyone managed to do it? It’s been few days that I’m trying to figure out this for now, and it’s driving me crazy.

On Twitter documentation, they say:

A first step is writing code that receives a Twitter Challenge Response Check (CRC) GET request and responds with a properly formatted JSON response.

  • Register your webhook URL. You will make a POST request to a /webhooks.json?url= endpoint. When you make this request Twitter will issue a CRC request to your web app. When a webhook is successfully registered, the response will include a webhook id. This webhook id is needed later when making some requests to the Account Activity API.

  • Twitter will send account webhook events to the URL you registered. Make sure your web app supports POST requests for incoming events. These events will be encoded in JSON.