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 253
1 ACCEPTED SOLUTION

Correct.

View solution in original post

4 REPLIES 4

Steve
Platinum 4
Platinum 4

Not possible.

Thanks for getting back so quick!
So, does that mean it is not possible to shorten URLs directly? (for now)

It can be done using google sheets itself, there are even some examples online if you search for them as “bitly shorten links google sheets”

Correct.

Top Labels in this Space