Skip to content

Latest commit

 

History

History
91 lines (58 loc) · 2.05 KB

README.md

File metadata and controls

91 lines (58 loc) · 2.05 KB

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