Question

I am trying to implement Bitly using BitlyPHP.

The Bitly API requiers several parameters in order to function and this got me confused.

Can you confirm that the tokens I use are the correct ones? - be sure they are just invented ones (but visually similar to the original ones...)

My question:

  1. bitlyKey: 38136deba3e1b5d8a11adet1zd68ed9d76ee411e (Generic Access Token)
  2. bitlyLogin: myBitlyUserAccount
  3. bitly_clientid: ??? - not sure what I need here
  4. bitly_secret: R_34tf69f4a2aakre2kva536499645a1kf (Legacy API Key)

I appreciate any help on this.

Thanks, D.

Was it helpful?

Solution

When you register a new app with Bitly's OAuth tool they will generate a client_id for you.

edit to be clear, the process is....

  1. Register an application
  2. Create an OAuth app and confirm the token emailed to you.
  3. Fill in all the details on the form. This will create your client_id and secret.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top