Hi :)
But in that case(when opt_scope = BASIC = 0) the problem occurs in this part:
if (opt_scope & parseInt(bit)) {
      scope.push(Instagram._translateScope[bit]);
}
(0 & ... = 0).. you'll get Invalid scope error