[android-developers] Twitter Integration...?

2012-01-22 Thread Abhilash baddam
Hi,

I tried a lot to integrate twitter in my application but it's not working
for me.
 I had give proper consumer key and consumer secret key even though i am
getting this exception. Anyone help me out from this issue.

01-23 00:22:57.848: W/KeyCharacterMap(305): No keyboard for id 0
01-23 00:22:57.848: W/KeyCharacterMap(305): Using default keymap:
/system/usr/keychars/qwerty.kcm.bin
01-23 00:23:05.268: D/dalvikvm(305): GC_EXPLICIT freed 5772 objects /
290464 bytes in 163ms
01-23 00:23:30.988: D/dalvikvm(487): GC_FOR_MALLOC freed 8762 objects /
397696 bytes in 77ms
01-23 00:23:31.028:
I/com.ecs.android.sample.twitter.PrepareRequestTokenActivity(487): Starting
task to retrieve request token.
01-23 00:23:31.048:
I/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): Retrieving
request token from Google servers
01-23 00:23:31.508: D/dalvikvm(487): GC_FOR_MALLOC freed 2201 objects /
128456 bytes in 60ms
01-23 00:23:32.258: W/DefaultRequestDirector(487): Authentication error:
Unable to respond to any of these challenges: {oauth=WWW-Authenticate:
OAuth realm=http://api.twitter.com}
01-23 00:23:32.268: I/global(487): Default buffer size used in
BufferedReader constructor. It would be better to be explicit if an 8k-char
buffer is required.
01-23 00:23:32.289:
E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): Error during
OAUth retrieve request token
01-23 00:23:32.289:
E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487):
oauth.signpost.exception.OAuthNotAuthorizedException: Authorization failed
(server replied with a 401). This can happen if the consumer key was not
correct or the signatures did not match.
01-23 00:23:32.289:
E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): at
oauth.signpost.AbstractOAuthProvider.handleUnexpectedResponse(AbstractOAuthProvider.java:239)
01-23 00:23:32.289:
E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): at
oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:189)
01-23 00:23:32.289:
E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): at
oauth.signpost.AbstractOAuthProvider.retrieveRequestToken(AbstractOAuthProvider.java:69)
01-23 00:23:32.289:
E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): at
com.ecs.android.sample.twitter.OAuthRequestTokenTask.doInBackground(OAuthRequestTokenTask.java:55)
01-23 00:23:32.289:
E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): at
com.ecs.android.sample.twitter.OAuthRequestTokenTask.doInBackground(OAuthRequestTokenTask.java:1)
01-23 00:23:32.289:
E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): at
android.os.AsyncTask$2.call(AsyncTask.java:185)
01-23 00:23:32.289:
E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
01-23 00:23:32.289:
E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): at
java.util.concurrent.FutureTask.run(FutureTask.java:137)
01-23 00:23:32.289:
E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
01-23 00:23:32.289:
E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
01-23 00:23:32.289:
E/com.ecs.android.sample.twitter.OAuthRequestTokenTask(487): at
java.lang.Thread.run(Thread.java:1096)

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Twitter integration - AccessToken issue

2011-06-24 Thread Albert
Hi all,

I am using twitter4j library to integrate my app with Twitter. I am
past the authorization request, callback and I have the token and
tokenSecret back from the authentication.

What's the problem? I am getting a
java.lang.IllegalArgumentException: Invalid access token format
error when I try to use these

AccessToken accessToken = new AccessToken(token, tokenSecret); //
throws exception

Anyone else seen this?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Twitter integration - AccessToken issue

2011-06-24 Thread ram dharan
On Fri, Jun 24, 2011 at 5:16 PM, Albert albert8...@googlemail.com wrote:

 Hi all,

 I am using twitter4j library to integrate my app with Twitter. I am
 past the authorization request, callback and I have the token and
 tokenSecret back from the authentication.

 What's the problem? I am getting a
 java.lang.IllegalArgumentException: Invalid access token format
 error when I try to use these

 AccessToken accessToken = new AccessToken(token, tokenSecret); //
 throws exception

 Anyone else seen this?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

what do u want to do in the next step?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Twitter Integration with Android app

2010-11-30 Thread Ajmer Singh
Hi All

I need to integrate the Twitter in my application,Could any body please let
me know what are the best way to achieve this.

I only need to Login and post a tweet in twitter from android app.Is there
any sort of SDK for Twitter?.

-- 
Thanks and Regards
Ajmer Singh

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Twitter Integration with Android app

2010-11-30 Thread Kumar Bibek
Try Twiiter4J library.

Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com



On Tue, Nov 30, 2010 at 6:05 PM, Ajmer Singh ajmersing...@gmail.com wrote:

 Hi All

 I need to integrate the Twitter in my application,Could any body please let
 me know what are the best way to achieve this.

 I only need to Login and post a tweet in twitter from android app.Is there
 any sort of SDK for Twitter?.

 --
 Thanks and Regards
 Ajmer Singh


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] twitter integration

2010-11-22 Thread akt
Hi Folks


Could you please any one help for twitter integration with android.

i have implemented game application there user can post there status on
facebook as well as twitter

i have done integrating facebook.

i failed with twitter.please anyone help me


i searched on net by using that only one user post there message

if you any source code please share with me.its very urgent to me


Thanks in advance

Aswan

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] twitter integration

2010-11-22 Thread Kumar Bibek
I would suggest that you don't write your own Twitter client, but use
existing apps for this. Write a generic share module, which would show
different channels through which the user could share his scores. This will
also take care of facebook. You just have to pass the message, and let the
user choose the app that he wants to use.

Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com



On Tue, Nov 23, 2010 at 10:12 AM, akt ensisinf...@gmail.com wrote:

 Hi Folks


 Could you please any one help for twitter integration with android.

 i have implemented game application there user can post there status on
 facebook as well as twitter

 i have done integrating facebook.

 i failed with twitter.please anyone help me


 i searched on net by using that only one user post there message

 if you any source code please share with me.its very urgent to me


 Thanks in advance

 Aswan

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] twitter integration

2010-11-22 Thread guru sagar
HI Kumar,


 can you please elaborate generic share
module with some example .,



Thanks,
Gurusagar

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] twitter integration

2010-11-22 Thread Kumar Bibek
Something like this.

Intent sendIntent = new Intent(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_SUBJECT, subject);
sendIntent.putExtra(Intent.EXTRA_TEXT, message);
sendIntent.setType(text/plain);

Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com



On Tue, Nov 23, 2010 at 10:38 AM, guru sagar gurusagar...@gmail.com wrote:


 HI Kumar,


  can you please elaborate generic share
 module with some example .,



 Thanks,
 Gurusagar



 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] twitter integration

2010-11-22 Thread venkat kumar
Hi,

Pass username and password..
Add external jar as twitpic4j.jar which is available here..
http://code.google.com/p/twitpic4j/

We can post text and picture in twitter.

Thanks,
venky

On Tue, Nov 23, 2010 at 10:24 AM, Kumar Bibek coomar@gmail.com wrote:

 I would suggest that you don't write your own Twitter client, but use
 existing apps for this. Write a generic share module, which would show
 different channels through which the user could share his scores. This will
 also take care of facebook. You just have to pass the message, and let the
 user choose the app that he wants to use.

 Kumar Bibek
 http://techdroid.kbeanie.com
 http://www.kbeanie.com




 On Tue, Nov 23, 2010 at 10:12 AM, akt ensisinf...@gmail.com wrote:

 Hi Folks


 Could you please any one help for twitter integration with android.

 i have implemented game application there user can post there status on
 facebook as well as twitter

 i have done integrating facebook.

 i failed with twitter.please anyone help me


 i searched on net by using that only one user post there message

 if you any source code please share with me.its very urgent to me


 Thanks in advance

 Aswan

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] twitter integration for android

2009-11-10 Thread pankaj
i want to integrate twitter with android, please tell me what is the
best way to implement this, i am new to androind.
thanks

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] twitter integration for android

2009-11-10 Thread Mark Murphy

 i want to integrate twitter with android, please tell me what is the
 best way to implement this, i am new to androind.

I use the JTwitter JAR in a few book samples. I removed the org.json
classes from the JTwitter JAR, since Android ships with org.json and I get
nervous about having duplicate classes. Otherwise, for me, it works like a
champ.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en