Skip to main content

Questions tagged [bit.ly]

Bit.ly is an URL-shortening service

bit.ly
1 vote
0 answers
267 views

URL Encoding and bit.ly

I have to shorten the following URL: https://example.com/engine?key=5&currency=EUR&language=EN&user=&system=HPH&tracking=%7B%22gtm%22%3A%22GTM-WR29KDC%22%7D&navigation=%7B%...
Leo Lozes's user avatar
  • 1,368
0 votes
0 answers
31 views

How to get a url link for Bitly v4 on PHP? [duplicate]

I tried following the replied guide on this post here How to shorten URL using PHP Bitly v4? but it doesn't really work. this is my code so far with added variables to match what's on the bitly API ...
AWorkingGuy's user avatar
3 votes
2 answers
178 views

Python bit.ly link wordlist generator

I've been developing a Python tool to generate a bit.ly wordlist. Here are the particularities of bit.ly links: Contain 7 entities Begin with a number (generally 3 or 2) End with a letter Can't have ...
J0ckS's user avatar
  • 33
-2 votes
1 answer
785 views

Bit.ly retrieve url curl returns {"FORBIDDEN","resource":"bitlinks","description":"You are currently forbidden to access this resource."} [closed]

I'm running a curl to retrieve a bit.ly url from my terminal and getting a forbidden error. curl \ -H 'Authorization: Bearer {TOKEN}' \ -X GET \ ...
mocha's user avatar
  • 45
0 votes
0 answers
290 views

using URL shortener from google sheets with long url

Can anyone tell me how to use bit.ly (or any other url shortener) with a very long URL with a google sheets script. The code I have is function bitlyGroupId(accessToken) { var headers = {'...
Steve's user avatar
  • 195
0 votes
0 answers
1k views

Tried to custom the shorten linked (bit.ly) via api but it keep return me 406

As stated, I tried to customize the link (back-half). It keep return me 406. Or should I use Post/custom_bitlinks instead? Here is my current code: function bitlyori (i, title){ var form = { "...
sunbshine's user avatar
1 vote
1 answer
894 views

Posting to Bitly api with Google App Script returns 403

Hey Stackoverflow fellows! I have been trying to writing an automation for my google sheets using an api from bit.ly to shorten my tons of link. Right now, I am at the fundamental stage and trying to ...
sunbshine's user avatar
2 votes
0 answers
276 views

Bitly shortened url different between v3 and v4 api call using the same long url

We want to migrate our integration with bitly from v 3 to v4, and during our tests we noticed that the returned shortened url is not same comparing the v3 and v4 returned lin, even if we send the same ...
Hasna766's user avatar
1 vote
0 answers
220 views

How to Create v4 Bitly Short link using JavaScript?

We want to migrate v3 to v4 bitly using javascript. We were using below code in v3 bitly: var x = ""; $.bitlr({ apiKey: '......', link: longurl, anchor: false, success: function (...
H_V's user avatar
  • 11
0 votes
1 answer
954 views

Get clicks statistics in bitly with adding + sign at the and of shortened link doesn't work now

I'm trying to get clicks statistics from bitly with adding + sign at the end of the shortened link, but it doesn't work now anyone can help? this is my shortened link: bit.ly/2Sb5MBg
Ayyoub Maulana Hadidy's user avatar
0 votes
1 answer
400 views

bit.ly URL Reduction service suddenly not working

I am using cold fusion code to covert URL to bitly urls and just last week it stopped working. I have tried everything but it just will not work. The original code below was working: <cfhttp ...
Scott's user avatar
  • 457
8 votes
1 answer
4k views

Integrate to Bit.ly API Version 4 - How to Generate OAuth2 Token to integrate with Bit.ly API V4 and create a shortened url?

I was having the hardest time trying to generate the OAuth2 token to integrate with the Bitly API v4. Their documentation was hard to comprehend and I couldn't find much online or on StackOverflow on ...
Andrew Reese's user avatar
0 votes
1 answer
711 views

Bitly URL Shortener - MISSING_ARG_LOGIN when trying to shorten URL

Bitly is returning the errorMessage "MISSING_ARG_LOGIN". I have already received my Access Token and am doing exactly what the documentation is saying. Has anyone had this issue and found a solution. ...
Andrew Reese's user avatar
3 votes
1 answer
2k views

Why Bit.ly v4 API returns INVALID_CONTENT_TYPE_HEADER?

I am getting error. I use this curl: $url = "https://api-ssl.bitly.com/v4/shorten"; $data = array('long_url' => 'http://www.google.com'); $ch = curl_init($url); curl_setopt($ch, ...
user4271704's user avatar
1 vote
1 answer
488 views

Bit.ly gives 404 from Google Apps Script

I am trying to shorten URLs from Google Apps Script, but I keep getting 404 errors and I don't know why. Please help. function shortenUrl(longUrl){ var options = { 'method' : 'post', '...
Tim Freeman's user avatar

15 30 50 per page
1
2 3 4 5
14