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 = "http://ift.tt/1zyZ8Db";
            urlLoader.addEventListener(Event.COMPLETE, logOutCompleted)
            urlLoader.load(urlRequest);
        }

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

Aucun commentaire:

Enregistrer un commentaire