Access token for Bitly

869 views
Skip to first unread message

dinesh sns

unread,
Jun 30, 2016, 8:51:30 AM6/30/16
to Bitly API

Actually, I am new to OAuth protocol.  I don't want to send my redirect url. I just want to post my URL through my C# code and get access token. Then use of this access token i will send my url to get shorten. Please help me to get out of this. 

Peter Herndon

unread,
Jun 30, 2016, 9:29:35 AM6/30/16
to Bitly API
Hi Dinesh,

As per our conversation on the a...@bitly.com support list, unless you are building an application where your end users will each have their own Bitly account, you do not need to work with our OAuth API endpoints. Instead, just go to https://bitly.com/a/oauth_apps, generate your Generic Access Token, and use that token for all your API calls. The token does not expire, though we can expire it manually if you leak your token accidentally.

Regards,

---Peter

Peter Herndon
Sr. Application Engineer
@Bitly
Reply all
Reply to author
Forward
0 new messages