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

Facebook Login just works on Simulator ?

$
0
0

Hey guys,

i am creating a facebook-login inside my application. On Simulator everything works like a charm - but as soon i test it on my iphone (4s) it throws an error...

Sample Script: (Just to clearify the problem)

Facebook.addEventListener('login', function(e) {
        console.log(Facebook);
        console.log(e);
    });
 
    Facebook.permissions = ['email', 'user_birthday'];
    Facebook.authorize();

Result:

{
    bubbles = 1;
    cancelBubble = 0;
    cancelled = 0;
    code = 5;
    error = "The operation couldn\U2019t be completed. (com.facebook.sdk error 5.)";
    source = "[object facebook]";
    success = 0;
    type = login;
}
So actually i don't have any idea why it doesn't work. Any hint/help would be great :)

Best, Nico

Titanium SDK 3.2.3


Viewing all articles
Browse latest Browse all 8068

Trending Articles



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