if(strlen($client->client_id) == 0|| strlen($client->client_secret) == 0)
die('Please go to StockTwits new application page '.'http://stocktwits.com/developers/apps/new and in the line '.$application_line.' set the client_id to Consumer key and client_secret with Consumer secret. '.'The site domain must have the same domain of '.$client->redirect_uri);