Guest User

Untitled

a guest
Jul 30th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. iOS ShareKit for Twitter: access error with xAuth / request error with OAuth
  2. #define SHKTwitterConsumerKey @"7NF8VIchpnMG1miVT0fA"
  3. #define SHKTwitterSecret @"FMHD32S5gNW1k0xEptZQz7dAKjd3pnpCKJdTy9PoTjY"
  4. #define SHKTwitterUseXAuth 1
  5.  
  6. [SHKTwitter shareText:@"This message was sent via my iOS app"];
  7.  
  8. 2012-03-14 23:02:48.214 KwikSpik[12345:11c03] <0x5e65fc0 OAMutableURLRequest.m:(242)> OAMutableURLRequest parameters oauth_consumer_key=7NF8VIchpnMG1miVT0fA&oauth_nonce=DC51F724-225A-458D-908A-A9A56C98A2EA&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1331748168&oauth_version=1.0&x_auth_mode=client_auth&x_auth_password=mypassword&x_auth_username=myusername
  9.  
  10. #define SHKTwitterUseXAuth 0
Add Comment
Please, Sign In to add comment