add ExchangeCode and GetCode method in App per facebook document. see method comment for usage.