Questions tagged [bitly]
32 questions
0
votes
1 answer
Regarding the new Bit.ly API in Python
Seemingly the bit.ly API has been updated a lot in recent years. Here is the website of the latest API documentation https://dev.bitly.com/api-reference
I am trying to do the simplest operation, i.e., shortening a long URL.
I have generated a token…

Vezen BU
- 113
- 6
0
votes
0 answers
Lookup tags for a given long URL in Bitly API v4
I have an app that is fed long URLs. I need to take the long URLs and use Bitly API v4 to see what tags are associated with each long URL. The feed does not include the short URL. Is there a way to query the API to lookup tags based on the long…

golddave
- 23
- 1
- 3
0
votes
0 answers
How to update bitly destination URL in Javascript
I have paid bitly version and I can update a destination URL by its dashboard link settings. As the same can we update by javascript? I tried with this example but had No luck. It's only updating Title and Tag. Please share the solution if anyone…

Elavarasan r
- 1,055
- 2
- 12
- 22
0
votes
0 answers
Not updating bitly long url (destination url)
I created a javascript function that tries to update the destination URL of bitly. Working fine for updating Title and Tag except for long_url. Please share if anyone has a solution.
Example code:
const UpdateURL = async() => {
try{
return await…

Elavarasan r
- 1,055
- 2
- 12
- 22
0
votes
1 answer
error 403 url shortener with bitly and js
I have searched for the answer but nothing helped. Please suggest me with a solution, when I try to shorten the url with bitly and vue js I get 403 error.
axios api:
const headers = {
'Authorization': `Bearer ${myToken}`,
…

Šarūnas Lekstutis
- 43
- 7
0
votes
1 answer
Bitly API call using VBA Excel Macro
I'm trying to make an Excel Macro to automatically shorten URLs in an Excel file.
().
I found existing code however this applies to an old version of the API:
Bitly has instructions on how to connect to the new API version, however these are not…

Jeroen Vest
- 3
- 1
0
votes
2 answers
How to access short URl from Json object in c# - Bitly
I am using Bitly api in Asp.net project to create short Url. I am getting result but it is in json format. How do I retrieve short Url from it?
[HttpGet("sendNotification/{PlanId}")]
[ValidateModelState]
public async…

Raneu
- 7
- 4
0
votes
1 answer
Bitly shorten URL - getting status as WaitingForActivation
I am trying to generate short link Using bitly but getting "Status = WaitingForActivation"
public async Task GetShortUrl(string url)
{
var myAccessToken = "Token";
var client = new HttpClient();
…

Raneu
- 7
- 4
0
votes
2 answers
Can you change the public URL of a file on Google Cloud Storage?
I'm storing a series of html files in a GCP bucket, and want to share a minified link for social media purposes. Trouble is, the minified link contains the full-length Public URL for redirection purposes, so at the moment the storage.googleapis.com…

crevulus
- 1,658
- 12
- 42
0
votes
1 answer
Problem to shorten URL using PHP-Bitly v4
I'm trying to shorten URL using the bit.ly API V4, but i always get the same error, I can't get the short URL.
Can someone help me please?
Here is the code that Im using:
$long_url =…

Ricardo Portillo
- 9
- 2
0
votes
0 answers
iPhone App Crashes when open from bit-ly link
I am facing this issue for multiple users. If app is already installed in the phone and then user tries to use bit-ly link to install the app, then app crashes on launch itself.
Tried finding solution but was not able to figure out the exact reason…

harsh vikram singh
- 27
- 5
0
votes
2 answers
Trying to Add tags to Bitly API Query String
I am creating a spreadsheet to help me quickly shorten UTM parameters for ad campaigns. I want to be able to dynamically add tags to the query string so that they are easier to organize once they are created in Bitly. Here is what I have tried in…

Chris Wendel
- 163
- 1
- 9
0
votes
1 answer
How can i get metrics from Bitly API with custom date range?
I have been trying to use Bitly API.
This is the documentation I have been following.
I am trying to call a GET request over /v4/bitlinks/{bitlink}/clicks as shown in the above documentation.
params = {
'unit' : 'day',
'units' :…

raaj
- 403
- 1
- 5
- 17
0
votes
1 answer
Get Bitly API clicks summary using Python
I really hope you can help me out with this. I am trying a basic operation but I am not able to find enough details on the documentation. So my goal is to get the clicks summary of a Bitly link but i am getting the following error :
{'message':…

radja.saminada
- 33
- 1
- 6
0
votes
1 answer
What is the method done by Bitly to track clicks
I am trying to implement a code that detects a Bitly link and track users based on there mobile device (Android, IOS, Website) e.g I want to have the count of android users, Apple users, and website users that clicked on the Bitly link so here is my…

Sora
- 2,465
- 18
- 73
- 146