How to use Bitly API to shorten urls using Bots-Task?


edit: Body includes “long_url”: “link” as well
Using several posts from the community itself and Bitly Documentation, I tried that but got this:
“Exception”: "Webhook HTTP post request failed with exception The remote server returned an error: (400) Bad Request. ",

I am still new to how webhooks and API work. Please help me out (and others who may need it!)

Note: This part is still just to sent to Bitly to shorten. I honestly have no clue on how to receive the output from Bitly and replace the long URL with the shortened Bitly.

2nd Note: I used Integromat, Zapier, etc. before but the waiting/execution time in their free plan is 15 mins, which is not suitable with my intention. And their 2 mins execution time is too costly and won’t generate that much links for now.

Solved Solved
0 4 505
1 ACCEPTED SOLUTION

Correct.

View solution in original post

4 REPLIES 4