🔥 Burn Fat Fast. Discover How! 💪

How to Create Short Link using AdClickersBot API Step 1 :- | New Advanced Codings™

How to Create Short Link using AdClickersBot API

Step 1 :-
GO TO :-
@AdClickersBot -> Captcha Task -> Short Link

Step 2 :-
Get the api key from the url provided in the response


Command :- /create_short_link
Answer :- Enter thr url which you want to shorten
Wait for reply
BJS :-

function isValidURL(value) {
var expression = /[-a-zA-Z0-9@:%_\+.~#?&//=]{2,256}\.[a-z]{2,4}\b(\/[-a-zA-Z0-9@:%_\+.~#?&//=]*)?/gi;
var regexp = new RegExp(expression);
return regexp.test(value);
}

if(!isValidURL(message)){
Bot.sendMessage('* Please Enter Correct Url to shorten the link*')
return
}

var link = 'https://adclickersbot.com/shorten'
var api_key = '613cd0b0017ccca172065987'
var url = message

HTTP.get({
url: link + '?api=' + api_key + '&url=' + url,
success: 'onLinkCreate',
error: 'error'
})

Command :- onLinkCreate
BJS :-

if(!content){return}
content = JSON.parse(content)

if(content.status){
Bot.sendMessage('* Your shorten Link :-* \n' + content.shorten_url)
}else{
Bot.sendMessage('* Something went wrong*')
}

Code Developer :- @sohamdeogaonkar1
Channel :- @bots_bussiness

Please report error to me if happens

Copying and publishing code anywhere or selling the above code is strictly not allowed. Right of the above codes belong to the AdClickersBot and owner of the this channel. Still if anyone have any problem regarding copyright can contact us.