Jump to content
UBot Underground

Anyone Using Bit.ly?


Recommended Posts

I have a bot that creates automatic bit.ly urls on the fly. The only problem is the amount of time it takes to create and scrape them in large quantities.

 

Does anyone have code that deals with Bit.ly and is quick to create / scrape?

 

Haven't been able to figure out multi-threading so that may be an option. Just curious is someone has a super fast code already?

Link to post
Share on other sites

Bit.ly has an API, why wouldn't you use that?

 

Here is a simple example (remember to add your login and API key instead of ***):

define $BITLY SHORTEN URL(#DEF URL) {
    return($trim($read file("http://api.bitly.com/v3/shorten?login=***&apiKey=***&longUrl={$plugin function("SocketCommands.dll", "$url encode", #DEF URL)}&format=txt")))
}

  • Like 2
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...