How to generate Bitly OAuth access token?

How to generate Bitly OAuth access token?

Using Bitly, businesses can transform their links into powerful tools for marketers and support teams. With Bitly, you can create branded links and redirect any link with just one click, so you can enjoy the sweet taste of success with your performance goals.

How to register you bitly.com account

Bitly helps businesses shine by transforming their links into powerful tools for marketers and customer support teams.
You can check the pricing here https://bitly.com/pages/pricing

How to register your OAuth application in Bitly.com

Bitly helps businesses shine by transforming their links into powerful tools for marketers and customer support teams.
You can check the pricing here https://bitly.com/pages/pricing

  1. First, click on your profile.
  2. Then From the list click on your Registered OAuth application
  3. Click on the Get Registration code [You will receive the code via email ]
  4. Click the COMPLETE REGISTRATION button from your email and fill the details.
  5. Add your application URL and redirect URL [ If you have any doubt just add your website URL ]

Generate a Bitly OAuth access token for your OAuth application

  1. Click profile settings
  2. Click on Generic Access Token
  3. Enter your password and click Generate Token
  4. If you already have generated token you don’t need to add your password

Now you can use the generated access token to connect to your bitly account via rest API. Read more about bitly API functionality from their developer guide.

If your access token are misplaces or someone stole it you can disable the Bitly OAuth access token from the bellow steps. After disabling the access token follow the steps previous step to generate the access token again.

How to disable/expire Bitly OAuth access token

  1. Go to Profile Settings
  2. Click on Security
  3. Click on close to disable access token

Other Resource

  • WordPress Plugin: https://wordpress.org/plugins/codehaveli-bitly-url-shortener/
  • Composer Plugin: https://packagist.org/packages/codehaveli/bitly-php