Git Product home page Git Product logo

tiplatformconnect's Introduction

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

tiplatformconnect's People

Contributors

ebryn avatar h5y1m141 avatar k0sukey avatar lis186 avatar matiaskorhonen avatar ryugoo avatar shebby-dogfish avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tiplatformconnect's Issues

Tumblt photos not working

Hi,
This is great stuff. Thank you ;)

I think there have been some changes to the Tumblr API since this was written, as photo posts are not working.

Is it possible to fix this?

Thanks

Twitterの投稿時、送信失敗が返ってこない(Androidのみ)

twitter.request(path, params, headers, 'POST', function (e) {
if (e.success) {
// success proc...
alert('送信成功');
} else {
// error proc...
alert('送信失敗');
}
});
上記の用に成功時と失敗時にアラートを表示させようとしました。
成功の時は「送信成功」と出てきたのですが、140文字を超えて投稿した時に「送信失敗」のアラートが表示されませんでした。
iOSでは問題なく動いて表示しています。
サンプルで他にいじった所はconfigJSONの部分をコメントアウトし、consumerKeyとconsumerSecretに直接キーを打ち込んで、yammerの部分をコメントアウトしました。

テストした環境は
Titanium Studio 3.1.0
Titanium SDK 3.0.2GA
デバイス:T01D(docomo) Androidバージョン 2.3.5
です。

mixi login callback function does not called.

Hi, committers,
Thank you for your great works!

I encountered a problem such a title above.
I did (app.js):

        Line 852   Ti.API.debug('mixi login callback fired!'); //<= not called.

But, this line was not executed.
Do you have any advice?

I hope you will be able to provide the information.
Thank you!

Twitter.js: error instead of failure

In Twitter.js line 236

error: function(data) {
        callback.call(self, {
          success: false,
          error: "Request failed",
          result: data
        });
      }

I believe it should be

failure: function(data) {
        callback.call(self, {
          success: false,
          error: "Request failed",
          result: data
        });
      }

Flickr App Type

Hello,

I was recently adopting code from the source for Flickr. What is the type of app I should be setting up on Flickr? I've currently set it up as a mobile application. When authorizing it in the iOS app, it shows me a code on the screen, and nothing happens beyond that. What am I doing wrong?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.