问题描述:

I'm new to this twitter integration and I've tried twitter integration in two different ways one with social auth and other with twitter core 4j

Social auth works fine with TAB 2 but doesn't work at all for N8000 and twitter core 4j gives error in getting access token and the example here takes me to a webView saying error accessing ouath.

Could someOne help me in giving the best example for twitter integration which works fine and other devices

Note : I've followed every step to generate consumer key and other keys


static String TWITTER_CONSUMER_KEY = "nAIxYApY73kBKXPVDuM0A";

static String TWITTER_CONSUMER_SECRET = "lB3OCl9E0uJR4yoWBugZGrsHJ9HfKWCTv9ZAzJFsjc";

static String PREFERENCE_NAME = "twitter_oauth";

static final String PREF_KEY_OAUTH_TOKEN = "oauth_token";

static final String PREF_KEY_OAUTH_SECRET = "oauth_token_secret";

static final String PREF_KEY_TWITTER_LOGIN = "isTwitterLogedIn";

static final String TWITTER_CALLBACK_URL = "oauth://t4jsample";

static final String URL_TWITTER_AUTH = "auth_url";

static final String URL_TWITTER_OAUTH_VERIFIER = "oauth_verifier";

static final String URL_TWITTER_OAUTH_TOKEN = "oauth_token";

相关阅读:
Top