Writing Twitter Client using OAuth: Callback fails

by Samuh » Mon, 15 Feb 2010 21:14:08 GMT


Sponsored Links
 I am working on an Android application which is to serve as a simple
Twitter client. I am using OAuth for authorization and have registered
my application with Twitter as new OAuth client.
Now when the user authorizes the application, I expect to be taken to
the Callback URL(which is pointing to my application); but this is not
happening.

My Problem along with source code is described in detail here:
 http://stackoverflow.com/questions/2199357/oauth-twitter-on-android-callback-fails )

The following intent is launched post authorization:
Intent {
act=android.intent.action.VIEW dat= http://twitter.com/oauth/authorize? 
oauth_token=XXACTUAL_TOKEN_HEREXX8&oauth_callback=myapp:///tweet
cmp=com.android.browser/.BrowserActivity }

Some how, the hypothetical URL, I provided while registering my
application, gets called.

Please let me know if I am missing something here...

Thanks.

--



Writing Twitter Client using OAuth: Callback fails

by Samuh » Mon, 15 Feb 2010 21:37:28 GMT


 I made a mistake above.

The following intent is launched for authorization:
Intent {
act=android.intent.action.VIEW dat= http://twitter.com/oauth/ 
authorize?
oauth_token=XXACTUAL_TOKEN_HEREXX8&oauth_callback=myapp:///tweet
cmp=com.android.browser/.BrowserActivity }


--


Sponsored Links


Other Threads

1. Android 3.0 presentation on Slideshare

I gave a presentation about Android 3.0 at the Portland Java User Group on
March 15th. The slides are available here:

http://www.slideshare.net/sullis/android-30-portland-java-user-group-20110315

Cheers,

Sean

-- 

2. emulator running abnormally slow

Hi, I am completely new to android, and not really sure if I am posing
this on the right group.

I installed the sdk, along with eclipse, java and the plugin for
eclipse on my machine.  The emulator takes forever to load and even
when it loads its extremely slow.

I am using Lenovo Thinkpad Egde.

Processor: AMD athlon neo x2 dual core  L235 1.5GHz
RAM: 2GB
OS: Windows 7 (64 bit)

Please let me know if I should provide any further information.

Thanks.

-- 

3. receive intent ACTION_MAIN

4. sipdroid video call over trixbox 2.8.0.4 CE?

5. Browser Speed Test - Android Ungguli iOS

6. Running .apk on Board

7. can not change the file in sdcard to read only mode