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

Twitter Login using social

$
0
0

I am trying to login using twitter using social module in titanium, when page loads it leads me to twitter page and suddenly app closes automautically after 15seconds. I increased RAM size of emulator too?.. Any problem in social or my code,

index.js:
 
var social = require("alloy/social").create({
    consumerSecret: 'CNT0yIxEkkGX5IqVDr8xuEJ9s2c4ZAlgzNXiBrc',
    consumerKey: 'IqFhBDxxps7NNby2Lcn8Q'
});
 
social.share({
    message: "Hi, Gowtham",
    success: function(e) {alert('Success!');},
    error: function(e) {alert('Error!');}
}); 
 
$.index.open();
 
 
index.xml:
 
<Alloy>
    <Window class="container">
        <Label id="label">Hello, World</Label>
    </Window>
</Alloy>
 
index.tss:
 
".container": {
    backgroundColor:"white"
}

Viewing all articles
Browse latest Browse all 8068

Trending Articles



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