Skip to content

Commit

Permalink
Using API1.1 verify credentials URL when upload image to Lockerz.
Browse files Browse the repository at this point in the history
  • Loading branch information
s17er committed Feb 21, 2013
1 parent 8fbb2d4 commit 60b367e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -56,9 +56,9 @@ protected String postUpload() throws TwitterException {

@Override
protected void preUpload() throws TwitterException {
String verifyCredentialsAuthorizationHeader = generateVerifyCredentialsAuthorizationHeader(TWITTER_VERIFY_CREDENTIALS_XML_V1);
String verifyCredentialsAuthorizationHeader = generateVerifyCredentialsAuthorizationHeader(TWITTER_VERIFY_CREDENTIALS_JSON_V1_1);

headers.put("X-Auth-Service-Provider", TWITTER_VERIFY_CREDENTIALS_XML_V1);
headers.put("X-Auth-Service-Provider", TWITTER_VERIFY_CREDENTIALS_JSON_V1_1);
headers.put("X-Verify-Credentials-Authorization", verifyCredentialsAuthorizationHeader);

if (null == apiKey) {
Expand Down

0 comments on commit 60b367e

Please sign in to comment.