if(strlen($client->client_id) == 0|| strlen($client->client_secret) == 0)
die('Please create a Bitly application in '.'https://bitly.com/a/oauth_apps , and in the line '.$application_line.' set the client_id to Client ID and '.'client_secret with Client Secret. '.'The callback URL must be '.$client->redirect_uri.' but make sure '.'it is a secure URL (https://).');