Using the twitter API on Android
Questions tagged [android-twitter]
102 questions
1
vote
0 answers
Grab recent tweets from several users at once
Currently using Twitter4J, im able to grab the timeline for a single user using the following:
AsyncTwitterFactory factory = new AsyncTwitterFactory(cb.build());
AsyncTwitter asyncTwitter = factory.getInstance();
asyncTwitter.addListener(new…

Orbit
- 2,985
- 9
- 49
- 106
1
vote
0 answers
How can i use “App card” without live website?
I am an android developer.
I am using Twitter Kit for composing tweets from my android application.
I want to drive my application installations by using "App Card" as described in the documentation here App Card.
As per my understanding i need a…

Raghu Mudem
- 6,793
- 13
- 48
- 69
1
vote
1 answer
get friends tweet count
I'm trying to get the friend's tweets count using twitter4j. so far I was up to getting ID of friends with below code.
accessToken = twitter.getOAuthAccessToken(requestToken, oauth_verifier);
…

KP Kavuru
- 55
- 1
- 4
1
vote
0 answers
Android Twitter SDK showing blank screen
When I implemented the Twitter SDK (Fabric), I was unable to compose tweets.
The screen turns black / white and a toast displays:
shell has been granted Superuser permissions
After that, it resumes the referrer intent, doesn't log anything. I've…

sitilge
- 3,687
- 4
- 30
- 56
1
vote
2 answers
Android How to send DirectMessage using Twitter4j lib?
I'm using Twitter4j lib. I'm unable to send direct message to my followers.
new Thread(new Runnable() {
@Override
public void run() {
// TODO Auto-generated method stub
DirectMessage message = null;
try…

Praveen Kumar Sugumaran
- 331
- 2
- 11
1
vote
3 answers
twitter image upload (twitpic api)- unable find image upload method
I am new to android development. I need to post text and image in twitter through my Android application.
I got one sample project AndroidTwitpic. I had problem in connection. Later I replaced twitter4j-core-2.1.6.jar library with…

tilak
- 4,589
- 6
- 34
- 45
1
vote
2 answers
Android-twitter4j Exception - no authentication challenges found
I have integrated Twitter into my application (using OAuth and twitter4j library) to update status on user's account on behalf of user. This works nice.
Before updating status, I check in Shared Preferences for stored AccessToken. If it is…

Geek
- 8,280
- 17
- 73
- 137
1
vote
0 answers
service.getAccessToken() is throwing Exception
I am using scribe 1.3.3 Oauth library for uploading Image to twitter.
I can able to get RequestToken and verifier, but still
Token accesstoken=oAuth.getAccessToken(requestToken, verifier); is throwing…

user1891910
- 919
- 3
- 18
- 45
1
vote
0 answers
org.scribe.exceptions.OAuthException: Response body is incorrect. Can't extract token and secret from this: '
I am getting the following exception when I use scribe library for posting image to twitter
org.scribe.exceptions.OAuthException: Response body is incorrect. Can't extract token and secret from this: '

user1891910
- 919
- 3
- 18
- 45
1
vote
1 answer
Caused by: java.io.IOException: No authentication challenges found
I am using the code below to post an image to Twitter, but I am getting an error at this line:
Token accesstoken=oAuth.getAccessToken(requestToken, verifier);
I searched for the error but didn't find any solution. I want to know why this error is…

user1891910
- 919
- 3
- 18
- 45
1
vote
1 answer
android app - gps, wifi, and twitter
I've got an android application for a project at school. The goal of the app is to get the GPS location, do a scan of available wifi networks, and bundle that information into a character string to be tweeted (also by the app). The gps and wifi…

mfjord0289
- 13
- 3
1
vote
2 answers
How to detect if connected to Twitter account in device, from my Android Application?
Let me try to be clear with what I want.
I have a button, and when I click on the button, I want to detect if there is any active twitter session in the device, or am I logged in into a twitter account in my device. If I am connected, I want to use…

Honey H
- 299
- 1
- 6
- 23
1
vote
1 answer
How to by pass entering the user credentials in a Twitter app once the user has entered his credentials in Twitter on the emulator/device?
I have installed Twitter on my device and entered my user credentials(ie; I've already logged into Twitter). I would like to create an app which asks me my credentials only if I have not logged into Twitter on my device/emulator. If I have logged in…

Ingrid Cooper
- 1,191
- 3
- 16
- 27
1
vote
1 answer
OAuthNotAuthorizedException, When twitter is run in android application
I am working on an application in which I had to make a new project from existing code. The parent project contains Twitter support classes and Twitter is working fine in that application. But in the newly created project, the Twitter throws…

Usama Sarwar
- 8,922
- 7
- 54
- 80
1
vote
1 answer
Getting error in OAuth authentication
04-12 15:19:29.317: E/com.qa.android.OAuthRequestTokenTask(221): Error during OAUth retrieve request token
04-12 15:19:29.317: E/com.qa.android.OAuthRequestTokenTask(221): oauth.signpost.exception.OAuthCommunicationException: Communication with the…

BiswajitP
- 233
- 4
- 15