Skip to main content

Posts

Showing posts with the label shorten url

Use bit.ly to create shorten urls in PHP : Part1

Bit.ly is the most popular service to create shorten urls. In 2010, they had announced  Version 3 of the bit.ly API. They had come with some new features like click counts,  getting bundle information, query bitly information etc... All V3 methods support identical  JSON and XML response formats. JSONP is likewise universally supported, and many  methods support an additional plain text response format. I have divided the bitly session into two parts. 1) Use bit.ly to create shorten urls in PHP : Part1 2) Use bit.ly API in PHP : Part2 Let’s start with first part. Please follow these steps: a)  Register yourself with https://bitly.com/   b)  Go to developers section : http://dev.bitly.com/   c)  On top navigation bar click on My Apps link. d)  Go to Manage My Apps->Advanced Tab  e)  Note down your  API Key (Click on Show legacy API   ...