refactored to be compatible with oauth_get_sbs().
replaced strings with consts.
inject dependency.