Skip to content

The easiest way to handle Twitter, Tumblr, Foursquare, and more authentication in your Titanium Mobile app

Notifications You must be signed in to change notification settings

myleftboot/TiPlatformConnect

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TiPlatformConnect (forked twitter-titanium)

  • Replaced jsOAuth-1.3.1.js to jsOAuth-1.3.3.js, and customize for Titanium Mobile(Content-Type, Ti.Network.createHTTPClient())
  • twitter.js using jsOAuth.getAccessTokenKey() and jsOAuth.getAccessTokenSecret(), and update_with_media support!
  • Added tumblr.js using OAuth(not XAuth). But photo upload yet...
  • Added mixi.js. Mixi is Japanese SNS
  • Added foursquare.js
  • Added flickr.js. But in development...
  • Added github.js
  • Added linkedin.js
  • Added google.js
  • Added etsy.js
  • Added hatena.js
  • Added dropbox.js
  • Rewrite the app.js
  • Extend platform.request(path, params, headers, httpVerb, callback); path is replaced url possible. Added headers.
  • Logout method support.

How to use

See Resources/app.js

twitter.js

update_with_media support! How to Resources/app.js

tumblr.js

Required default callback URL in Tumblr application setting page. No need to in the library properties.

mixi.js

Required callback url in the library properties. Required access token refresh, How to Resources/app.js.

foursquare.js

Required callback url in Foursquare application setting page, And need to in the library properties.

flickr.js

Required callback url in the library properties.

github.js

Required callback URL in Github application setting page, And need in the library properties.

linkedin.js

Not required callback URL.

google.js

Not required callback URL. Required access token refresh, How to Resources/app.js.

etsy.js

Not required callback URL.

hatena.js

Required scope, How to Resources/app.js

dropbox.js

Anyway authentication only, How to Resources/app.js

logout example

var twitter = require('twitter').Twitter({ ... }); twitter.logout(function(){ // callback });

Thanks

  • Original twitter-titanium by @ebryn
  • jsOAuth by @bytespider

About

The easiest way to handle Twitter, Tumblr, Foursquare, and more authentication in your Titanium Mobile app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published