0

I integrated Tumblr in my Android application. I want to get login user profile in my app like Facebook. is it possible?

My Code for successful login is:

public void onLoginSuccessful(LoginResult loginResult) {
    if(loginResult != null && !TextUtils.isEmpty(loginResult.getOAuthToken()) && !TextUtils.isEmpty(loginResult.getOAuthTokenSecret())) {
        Log.i(TAG, "Tumblr Token : " + loginResult.getOAuthToken());
        Log.i(TAG, "Tumblr Secret Token : " + loginResult.getOAuthTokenSecret());
        Button btnClickMe = (Button) findViewById(R.id.mainactivity_button);
        btnClickMe.setText("Congratulations, Tumblr login succeeded");
        btnClickMe.setEnabled(false);
    }
}
2
  • Refer this and this . It will help you Dec 15, 2016 at 11:18
  • I want to get user data from Tumblr SDK not From EditText. Dec 15, 2016 at 11:46

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.