Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Facebook

$
0
0

Facebook login button Not working in following condition.

Application type: mobile Titanium SDK: 3.1.3.201309132423 Platform & version: iOS 7.0 Device: iOS simulator

In app.js file i am written facebook login button code

fb.createLoginButton.addEventListener('login', function(e) {

// After login user is redirected to other page i.e page1.js and close app.js file

});

In page1.js page i am put logout button .

logout.addEventLisener("click",function(e){

// Logout from FB and again open app.js file 

var window = Ti.UI.createWindow({
                    url : "app.js"
                });
    window.open();

});

After this code app.js file is open but i am not able to again click on Fb login button.

Is their any mistake in again calling app.js file or some FB issue?


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>