twitter oauth receivePin KrollCallback

Dear Support,
I am using code

var receivePin = function() {
// get the access token with the provided pin/oauth_verifier
// save the access token
oAuthAdapter.showAuthorizeUI('' + oAuthAdapter.getRequestToken(''), receivePin);

for using twitter service to post status from my Titanium Developer mobile application, but when it launches, no twitter window appears. And when I am looking for;

to trace the received pin it gives me info as
[INFO] <KrollCallback: 0x508a350

tell me where I am wrong. If required the full code I am using, plz let me know.

2 Answers

  • No Problem at all! I got the solution by customizing the adapter file for my own.

    — answered 5 years ago by Amit Srivastava
    1 Comment
    • amit,

      can you share your solution? I have been trying to do this for days!

      — commented 5 years ago by Raul Riera
  • BirdHouse: Twitter OAuth for Android & iPhone

    To anyone else who is having this issue or similar issues check out BirdHouse,

    Cross-Platform Support & Up-to-Date: BirdHouse has been tested on Android with Linux and Mac as well as on iPhone, both using the latest Titanium Mobile SDK (1.6.2). It has been tested by others and is being maintained to fix any issues.

    Go here for the code and go here for the test app.

    About: The script can send tweets, retrieve tweets, authenticate, "deauthenticate", and send custom API calls to Twitter. For sending tweets, a custom UI popup appears. It is designed to work similar to Titanium's Facebook module.

    David Riccitelli's oauth-adapter doesn't work on Android, but some have forked it to work, such as Ketan Majmudar (go here for his code), I have tried other OAuth scripts as well, but I have been more successful with BirdHouse.