$this->app_id, 'secret' => $this->app_secret, 'js_code' => $code, 'grant_type' => 'authorization_code' ], null, ['Content-Type' => 'text/xml']); } }