Get rid of this method. You need only app id and secret to access APIs