lundi 23 novembre 2015

Instagram logout programatically

Adobe AIR, apache flex sdk, applicaiotn for instagram using Instagram API. When i need to logout user i use this simply code:

protected function logOut():void
            var urlRequest: URLRequest = new URLRequest();
            var urlLoader: URLLoader = new URLLoader();
            urlRequest.url = "";
            urlLoader.addEventListener(Event.COMPLETE, logOutCompleted)

but it doesnt logouting, it stays logged with previous user. Any suggestions why request doesnt work?

Aucun commentaire:

Enregistrer un commentaire