Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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

branch: master

This branch is 0 commits ahead and 0 commits behind master

Octocat-spinner-32 .settings Initial commit October 13, 2011
Octocat-spinner-32 Resources yammer対応追記 February 27, 2013
Octocat-spinner-32 .gitignore 設定ファイルにconsumerKeyを記述してコミット対象外にする February 27, 2013
Octocat-spinner-32 .project Initial commit October 13, 2011
Octocat-spinner-32 README.md wrote readme March 01, 2013
Octocat-spinner-32 manifest Initial commit October 13, 2011
Octocat-spinner-32 tiapp.xml SDK3.0 でビルドするためにtiapp.xml修正 February 27, 2013
README.md

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
  • Added pocket.js
  • Added evernote.js
  • Added yammer.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

pocket.js

Not required callback URL.

evernote.js

Select Development (Sandbox) or Production parameter. Please read app.js and evernote.js.

yammer.js

Not required callback URL.

logout example

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

Thanks

  • Original twitter-titanium by @ebryn
  • jsOAuth by @bytespider
Something went wrong with that request. Please try again.