Skip to content

Twitter auth configuration missing #4583

Closed
@joaoarmando

Description

@joaoarmando

I'm getting the following exception: Twitter auth configuration missing.
Code 1.

i have this in my index.js:
oauth: {
twitter: {
consumer_key: 'MyConsumerKey',
consumer_secret: 'MySecrectKey'
}
}

I'm using this to link accounts:

if (!ParseTwitterUtils.isLinked(user)) {
          ParseTwitterUtils.link(user,
                  getActivity(), new SaveCallback() {
              @Override
              public void done(ParseException ex) {

                  if (ex == null){
                      if (ParseTwitterUtils.isLinked(ParseUser.getCurrentUser())) {
                          Log.d("MyApp", "Woohoo, user logged in with Twitter!");
                      }
                  }else {
                      Log.d("MyApp", "message: " + ex.getMessage());
                      Log.d("MyApp", "getCode: " + ex.getCode());
                  }

              }
          });
      }

where user is: ParseUser user = ParseUser.getCurrentUser();

I'm using android 5.1 lollipop
I'm using these libs:

 compile 'com.parse:parse-android:1.15.8'
 compile 'com.parse:parsetwitterutils-android:1.10.+'
 compile 'com.parse:parsefacebookutils-v4-android:1.10.4@aar'

I've been trying all day to find a solution to this, but so far nothing, so I've come to the experts for help, thank you.

Forgive my English, I'm using google translator :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions