-
Notifications
You must be signed in to change notification settings - Fork 9
Basic twitter iOS 5 integration as a titanium module
License
mpociot/titanium-mobile-twitter-module
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Twitter iOS 5 Module for Appcelerator Titanium ====================== DESCRIPTION ======================= This is a really basic iOS 5 twitter integration. It currently only supports the tweetSheet view. You can attach images and urls. Simply download the zip file and integrate the module in your Titanium project. USAGE ======================== var module = require('de.marcelpociot.twitter'); module.tweet({ message: 'Hey, this is some cool tweet!', urls: ['http://www.marcelpociot.de'], images: ['http://www.marcelpociot.de/logo.png'], success: function(){ alert("Tweet successfully sent"); }, cancel: function(){ alert("User canceled tweet"); }, error: function(){ alert("Unable to send tweet"); } }); // To access the accounts: module.accounts({ load: function(e){ for( var i =0; i<e.accounts.length; i++ ){ var account = e.accounts[i]; alert(account.username); alert(account.description) } }, error: function(e){ alert("access not granted"); } }); TODO ======================== Twitter call's are now working, but for the moment only unsigned requests. There's still a problem when you want to add multiple images or URLs. ABOUT THE AUTHOR ======================== I'm a web enthusiast located in germany. Follow me on twitter: @marcelpociot
About
Basic twitter iOS 5 integration as a titanium module
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published