make bitly api dynamic